Skip to content
fa
Search Frontend Atlas
Search questions and concepts across the handbook.

6 curated questions

CSS & Rendering

Layout, painting, compositing, typography, and responsive design.

  1. 01

    When should you choose Flexbox versus Grid?

    Choose based on one-dimensional flow, two-dimensional track relationships, intrinsic sizing, and content behavior.

    foundation · 8 min
  2. 02

    How do you design responsive components without hard-coding every viewport?

    Use fluid constraints, intrinsic layout, content-driven breakpoints, and container queries where appropriate.

    intermediate · 9 min
  3. 03

    How does CSS determine the containing block for positioned elements?

    Understand normal flow, absolute positioning, fixed positioning, and containing-block-establishing properties.

    intermediate · 10 min
  4. 04

    How does the CSS cascade choose the winning declaration?

    Reason through origin, importance, cascade layers, specificity, scoping proximity, and source order.

    intermediate · 11 min
  5. 05

    What actually causes style and layout thrashing?

    Invalidation, forced synchronous layout, paint cost, and the practical rules that keep interactions smooth.

    intermediate · 14 min
  6. 06

    Why does a large z-index sometimes fail to place an element on top?

    Understand stacking contexts as atomic painting groups rather than a global numeric z-index scale.

    intermediate · 10 min