Flexbox Main Axis
In Flexbox, what property controls the alignment of items along the main axis?
- align-items
- justify-content
- align-content
- justify-items
- justified-content
CSS Grid Tracks
Which CSS Grid property defines the rows and columns of the grid container?
- grid-template
- grid-area
- grid-layout
- grid-template-areas
- gride-template
Position: Sticky
What does `position: sticky` do to an element?
- It fixes the element to the viewport.
- It makes the element relative to its parent.
- It toggles between relative and fixed, depending on the scroll position.
- It makes the element float.
- It makes the element stick
Clearing Floats
Which CSS property is commonly used to clear floats?
- overflow
- clear
- float
- clearfix
- display
Flexbox Wrap
Which Flexbox property controls whether items wrap onto multiple lines?
- flex-direction
- flex-wrap
- flex-flow
- flex-basis
- flexwrap
Grid Gap
How do you create a gap between grid tracks using a single property?
- grid-gap
- grid-row-gap
- grid-column-gap
- gap
- gride-gap
Absolute Positioning Context
An element with `position: absolute` is positioned relative to which element?
- The viewport
- The document root
- Its nearest positioned ancestor
- Its parent element
- The body element
Float and Text
When an element is floated, what happens to the surrounding text?
- The text wraps around the floated element.
- The text is pushed below the floated element.
- The text overlaps the floated element.
- The text is hidden behind the floated element.
- The text ignores the floated element
Flex Grow
What does the `flex-grow` property do in Flexbox?
- Specifies the initial size of a flex item
- Defines the alignment of items along the cross axis
- Determines the order of flex items
- Specifies how much the item will grow relative to the other flex items
- Specifies how much the item will shrink relative to the other flex items
Grid Area Placement
How can you place a grid item into a specific grid area using named lines?
- grid-template-areas
- grid-area
- grid-column-start / grid-column-end / grid-row-start / grid-row-end
- grid-place-items
- gride-area