JS Guide
HomeQuestionsTopicsCompaniesResources
BookmarksSearch

Built for developers preparing for JavaScript, React & TypeScript interviews.

ResourcesQuestionsSupport
HomeQuestionsSearchProgress
HomeTopicscss

css

CSS layouts, selectors, animations, and modern features

0 of 12 topics read0%

3 Topics

advanced
Cascade Layers (@layer)
advanced
12 min
The @layer rule introduces explicit layers to the CSS cascade, allowing developers to control style priority by layer order rather than specificity — solving specificity wars in large codebases without resorting to !important.
Container Queries (@container)
advanced
12 min
Container queries let components adapt their styling based on the size of their parent container rather than the viewport — enabling truly reusable responsive components that work in any layout context.
CSS Performance Optimization
advanced
15 min
CSS performance spans the rendering pipeline stages of style calculation, layout, paint, and compositing — with optimization strategies including critical CSS extraction, CSS containment, efficient selector patterns, and minimizing layout-triggering property changes.