CSS3 delivered a remarkable batch of features at once — gradients, animation, transition, border-radius, box-shadow, transform — and the surrounding wave of learning material around "CSS3" and "HTML5" meant a great many developers absorbed all of it at the time. Many have learned little CSS since. Taking 2015 as the rough cutoff, here is what is essential now.
Tooling and layout
Preprocessors are still widely used, but the reasons to reach for them have dwindled enough that skipping them is a reasonable choice. The same applies to future-feature polyfills and to Autoprefixer. CSS-in-JS is common, but only on projects whose whole workflow already lives in JavaScript; you'll recognize such a project and can pick up the syntax when needed.
The baseline to learn regardless is Custom Properties, Flexbox and Grid. Flexbox and Grid are the cornerstones of layout work today — more so than anything CSS3 introduced.

Grid gains extra power from subgrid and masonry, though neither is reliable across browsers yet. Custom properties matter for several reasons: they serve as a home for design tokens, simplifying maintenance and consistency, and they underpin color theming such as dark mode. Entire sites can be designed around them. In the same spirit, Tailwind's class-in-HTML approach is hard to ignore — it resonates with many developers and grates on many others, so no worries if it isn't for you.
.card {
display: grid;
grid-template-columns:
150px 1fr;
gap: 1rem;
}
.card .nav {
display: flex;
gap: 0.5rem;
}
Respecting the user and modern color
Preference queries extend the familiar @media mechanism we already used for browser sizes, detecting OS-level preferences such as prefers-reduced-motion and prefers-color-scheme so interfaces can match a user's ideal experience.
Color syntax has moved toward functions that carry alpha without a function-name change. Pure blue once meant rgb(0, 0, 255); today the comma-free form rgb(0 0 255) also works, and alpha attaches the same way: rgb(0 0 255 / 0.5). It's a small nicety, and it is how future color functions will only work. Same story for hsl().
The newer color spaces:
- P3 / "display-p3" color, arriving via the
color()function. lab(), which covers the entire range of color humans can see.lch(), another new color space.hwb(), a color space pitched for humans.
Typography and shapes
Web fonts were a big CSS3-era development; now there are variable fonts, worth knowing about for both the design possibilities and the performance wins — for instance, no longer loading separate files for bold and italic. Color fonts exist too and have support, but haven't seen much adoption on the web.
SVG use has exploded since CSS3, and a set of CSS features now brings SVG-like capabilities to ordinary elements. They feel spiritually connected:
clip-path— literally crops elements into shapes.mask— similar to clipping, but a mask can act on other qualities, such as its alpha channel.offset-path— a path an element can sit on, generally to be animated along it.shape-outside— a path on a floated element for other elements to wrap around.d— the SVGdattribute on a<path>can be updated from CSS.
Image effects in CSS
A lot of image manipulation, and manipulation of other DOM elements, is now possible directly in CSS. filter has several companions, each with a different use:
filter— Photoshop-like brightness, contrast, grayscale, saturation and more; blurring is a notably distinctive capability.background-blend-mode— layer blending: multiply to darken and combine, overlay to mix background and color, plus the classic and esoteric lighting effects.backdrop-filter— the same abilities asfilter, but applied only to the background rather than the whole element; background-only blur is especially useful.mix-blend-mode— the same abilities asbackground-blend-mode, but for the entire element instead of backgrounds alone.
Houdini and the Shadow DOM
Houdini is a collection of technologies at the intersection of CSS and JavaScript, aimed at extending CSS:
- Paint API — returns an image built from
<canvas>APIs, controllable through custom properties. - Properties & Values API / Typed OM — gives types to values such as
10pxthat would otherwise be strings. - Layout API — create your own
displayproperties. - Animation API
Together they enable impressive demos, though browser support is scattered. Houdini ships as Worklets that are easy to import, so it has real potential to modularize powerful functionality and make it trivial to consume.
html {
--bgColor: #70f1d9;
--font-size-base:
clamp(1.833rem, 2vw + 1rem, 3rem);
--font-size-lrg:
clamp(1.375rem, 2vw + 1rem, 2.25rem);
}
html.dark {
--bgColor: #2d283e;
}
The Shadow DOM turns up when you play with <svg> and <use>: the cloned element's shadow DOM limits how you can select "through" it, and <web-components> behave the same way. Should you need to style web components, there are essentially four options from the outside, and native CSS modules and constructible stylesheets are worth knowing.
What is coming
The CSS Working Group marks where specs stand each year in CSS Snapshot 2020 and CSS Snapshot 2021. They are dense references — good documentation, but not a guide for a casual front-end developer choosing what to learn.
Mostly, don't worry about what's next; the point here is catching up on what is useful now. For the curious:
- Container queries — style based on container size rather than browser size alone, polyfillable today.
- Container units — sizing relative to a container.
- Independent transforms, e.g.
scale: 1.2;, more logical than always going throughtransform. - Nesting — long a fixture of preprocessors and clearly liked, particularly for media queries; native nesting is likely soon.
- Scoping — confine a block of CSS to a certain area, as CSS-in-JS libraries do, helping with proximity.
- Cascade layers — a new model of which styles win: higher layers beat lower ones regardless of specificity.
- Viewport units — the relative viewport lengths, especially
dvhanddvw, which account for usable window space and avoid browser UI overlapping site UI. - The
:has()selector — like a parent selector plus. - Scroll timelines — scroll-linked animations.
Bramus Van Damme covers these and more in his "CSS in 2022" roundup, and 2022 looks set to be a banner year for CSS.



