In Defence of CSS and the Cascade

Charlie Owen
Duration:
25 minutes
CSS

CSS is magical. It's magical because of the one part that everyone complains about, the one part that it has become popular to try and remove - the cascade!

This talk will will show how the cascade isn't just about specificity and overriding properties. The cascade is fractal, existing at every level of CSS. It's about how we write CSS that works for everybody. It's about writing CSS that copes with the past and with the future. It's about writing CSS that's robust and will work on every device. Feature queries, media queries, CSS Grid, and even Houdini are all part of the cascade!

As well as practical examples of how the cascade works, this talk will show some of the history of CSS, how it has evolved, and how to make your CSS flexible for the future.