CSS3 & Modern Layouts (50 Qs)•Part 1: Basic & Foundational Concepts (Junior / Entry-Level)
What are the core Flexbox layout properties?
junior LevelcssBasic
In Simple Words: Flexbox is a one-dimensional layout system (designed for rows OR columns).
Container (Parent) Properties:
display: flex: Establishes a flex formatting context.flex-direction: row | column | row-reverse | column-reverse: Sets the main axis.justify-content: flex-start | center | flex-end | space-between | space-around: Aligns items along the main axis.align-items: stretch | center | flex-start | flex-end | baseline: Aligns items along the cross axis.flex-wrap: nowrap | wrap: Allows items to wrap onto multiple lines.gap: 1rem: Sets consistent gutter spacing between flex children without margin hacks.
Child (Item) Properties:
align-self: Overrides parent'salign-itemsfor a specific child.order: Reorders child visual presentation without changing DOM order.