JavaScript Is Dead: 7 Examples Where Modern CSS Is All You Need

Annotation

A whole range of CSS properties—still fresh off the press but already fully functional—can directly replace established JavaScript practices and hacks. Real-world examples of how to use these new CSS features to replace JavaScript. The very one you’re currently using in production.


Let’s take a look at how “new features” like scroll-snapping, :has, text-wrap, or color-mix() work in practice, and together we’ll get rid of those bad habits.




Other talks by this speaker

Is it time for clean CSS?

Is it time for clean CSS?

CSS is a vibrant language, and given the progress made in recent years, it’s easy to think: “Why not start styling using only pure CSS, without preprocessors, post-processing, or CSS frameworks?”

Video recording