Learning path

CSS concepts from basics to advanced

Follow this sequence to master CSS. Jump into any concept to view details or open its visualizer.

Start with foundations, then progress through layout, responsiveness, effects, motion, architecture, and Houdini. Each card links to the concept’s dedicated page and visualizer (where available).

foundation

foundation
selectorsspecificitycascade

Selectors & Specificity

Understand how selectors target elements and how specificity resolves conflicts.

Pseudo-classes & pseudo-elements
Specificity math and the cascade
:is(), :where(), and :has()
foundation
cascadeinheritancelayers

Cascade & Inheritance

Dive deep into the cascade layers, inheritance rules, and how importance is calculated.

Cascade layers and ordering
inherit vs. initial vs. revert
Author vs. user vs. UA styles
foundation
layoutbox-modelvisualizer

Box Model

Visualize content, padding, border, and margin with live adjustments.

content/padding/border/margin
box-sizing and overflow
Nested box composition
foundation
displayflow

Display Modes

Inline, block, inline-block, table, and flow-root behaviors and their layout effects.

Formatting contexts
flow-root and block formatting
inline vs inline-block nuances
foundation
positionstacking-context

Positioning

Static, relative, absolute, sticky, and fixed positioning with stacking context examples.

Containing blocks
z-index and stacking contexts
Sticky thresholds
foundation
flexlayoutvisualizer

Flexbox Visualizer

Interactive flex playground for axes, alignment, wrapping, and gaps.

Main vs cross axis
gap, wrap, and ordering
Alignment across breakpoints
foundation
responsivebreakpoints

Responsive Design

Fluid design systems built with constraints, clamps, and progressive enhancement.

Mobile-first strategy
fluid typography with clamp()
layout shifts and safe areas
foundation
mediaresponsive

Media Queries

Craft media queries for viewport, accessibility preferences, and device capabilities.

prefers-reduced-motion
light/dark preferences
orientation and color gamut
foundation
typefontsvisualizer

Typography Lab

Experiment with font-size, line-height, letter-spacing, and rhythm.

Readable line lengths
variable font axes
baseline rhythm
foundation
colorgradientsvisualizer

Colors & Gradients

HSL, LCH, and gradient design with live color wheel and stops.

Color spaces & contrast
Linear vs radial gradients
Layering glows and blend modes
foundation
bordersshapes

Borders & Shapes

Rounded corners, outlines, border-images, and creative shape utilities.

border-image & masks
rounded geometry
logical vs physical properties
foundation
shadowselevation

Shadows Playground

Soft shadows, inner glows, and layered elevation tokens.

Multi-layer shadows
Neumorphism vs glass
Drop-shadow vs box-shadow
foundation
transitionsmotion

Transitions

Ease functions, durations, and choreographing micro-interactions.

Custom cubic-beziers
Staggered transitions
Animating layout changes
foundation
animationskeyframesvisualizer

CSS Animations + Keyframes

Author keyframes, iteration modes, and timing with live preview.

Timing functions & delays
Fill modes and directions
Animating transforms & opacity
foundation
variablesdesign tokensvisualizer

CSS Variables (Custom Properties)

Design tokens and live theming with cascading custom properties.

Scoping tokens
Dynamic overrides
calc() with variables
foundation
functionsmath

Functions (calc, min, max, clamp)

Compose responsive formulas with calc(), clamp(), min(), and max().

Constraint-based sizing
Combining viewport + rem units
Fallback-friendly formulas
foundation
unitsresponsive

Units (px, em, rem, vw, vh, fr, %)

Choose the right units for sizing, spacing, and layout grids.

Root-based scaling
Viewport + container units
fr tracks in grid
foundation
a11ymotioncontrast

Accessibility in CSS

Inclusive styling with focus states, reduced motion, and readable contrast.

Focus-visible and outlines
prefers-reduced-motion
High-contrast palettes
foundation
debuggingdevtools

CSS Debugging Tools

DevTools workflows for inspecting cascade, grid/flex overlays, and performance.

Grid/flex overlays
Performance profiling
Source maps & coverage

intermediate

intermediate
floatslegacy layout

Floats & Clearfix

Legacy layout tool with modern containment and clearfix recipes.

Float stacking rules
clearfix techniques
BFC and containment
intermediate
gridlayoutvisualizer

Grid Visualizer

Design explicit and implicit grids with repeat(), minmax(), and auto-fit/auto-fill.

Grid tracks & gaps
auto-fit vs auto-fill
Named areas and responsive tracks
intermediate
columnsflow

Multi-Column Layout

Newspaper-like flows with columns, spanning, and balancing strategies.

column-count vs column-width
spanning headers
column gaps and rules
intermediate
container-queriesresponsive

Container Queries

Component-driven responsiveness using container size instead of viewport.

@container rules
Container units (cqw/cqh)
Style queries vs size queries
intermediate
fontsperformance

Fonts & Variable Fonts

Load, optimize, and animate variable fonts with axis sliders.

@font-face strategy
font-display and fallback
Variable font axes and ranges
intermediate
backgroundsparallax

Backgrounds & Parallax

Layer multiple backgrounds, blend modes, and subtle parallax illusions.

background-position tricks
blend-mode recipes
scroll-tied parallax
intermediate
filterseffects

Filters & Effects

Blur, hue-rotate, and backdrops to build glassmorphism and neon glows.

backdrop-filter patterns
performance-aware filters
Combining filters & blend modes
intermediate
printmedia

Print Styling

Craft paged media rules, margins, and print-friendly color strategies.

@page and size
Print-safe colors
Hiding interactive chrome

advanced

advanced
clip-pathmasking

Clip-path & Masking

Reveal content with clip-path polygons, SVG masks, and gradient masks.

CSS mask-image
SVG mask vs clip
Animating masks
advanced
3dtransforms

3D Transforms & Perspective

Rotate, skew, and manage perspective to create layered depth.

perspective vs perspective-origin
preserve-3d pitfalls
Card flip interactions
advanced
motion-pathanimation

Motion Path (offset-path)

Animate elements along arbitrary paths with offset-path and offset-rotate.

Defining paths
offset-distance choreography
Pairing with keyframes
advanced
renderingpipeline

Browser Rendering Pipeline

Understand style, layout, paint, and composite stages for predictable UI.

style/layout/paint/composite
Critical rendering path
Measuring with DevTools
advanced
performancerendering

Reflow, Repaint & Compositing

Minimize layout thrash with batching, will-change, and compositor-only animations.

Forced reflow culprits
paint vs composite
transform/opacity animations
advanced
gpuperformance

GPU Acceleration

Trigger GPU-accelerated paths safely while avoiding memory pitfalls.

Compositor layers
will-change guidance
Image vs vector trade-offs
advanced
architecturescaling

CSS Architecture (BEM, OOCSS, SMACSS)

Structure scalable CSS systems with naming, layering, and composition.

BEM semantics
Layered architecture
Enforcing constraints with tooling
advanced
houdinipaint

Houdini API — Paint Worklet

Generate procedural backgrounds with Paint Worklets and custom properties.

Registering worklets
Drawing with canvas-like APIs
Fallback strategies
advanced
houdinityped-om

Houdini API — Typed OM

Interact with CSS values as typed objects for safer runtime styling.

CSSUnitValues & StylePropertyMaps
Parsing vs serialization
Interop with JS animations
advanced
houdinilayout

Houdini API — Layout API

Author custom layout algorithms that participate in normal flow.

registerLayout fundamentals
Intrinsic size calculation
Progressive enhancement guidance