StudyMate
G

Positioning, Display & Flexbox Layout

3. Layout

3. LAYOUT

Positioning, Display & Flexbox Layout

Understand normal flow, display types, and the position property (static, relative, absolute, fixed, sticky), z-index and stacking contexts, floats and clear, then build one-dimensional layouts with Flexbox: axes, justify/align, flex-grow/shrink/basis, wrapping, gap, and common patterns (navbar, card row, centering).

5 resources 0 labs
Hindi deep dive that builds a navbar and card row from scratch, covering main vs cross axis and common flex bugs.
VIDEOHIFREE 28 min4.9 (65)
The flex container and item properties that matter daily: justify-content, align-items, flex-grow/shrink/basis, gap and wrapping.
VIDEOENFREE 15 min4.7 (50)
How normal flow and the position property interact, including z-index and stacking contexts, with a sticky-header exercise.
TEXTENFREE 15 min4.7 (56)
static, relative, absolute, fixed and sticky explained with offsets and containing blocks, including what each one does to the stacking context.
VIDEOENFREE 9 min4.4 (79)
Structured guide to the flex formatting context with exercises: axis, sizing, alignment, ordering and nesting flex containers.
TEXTENFREE 20 min4.1 (67)