PHPnews.io

Don’t Fight the Cascade, Control It!

Written by Bram.us / Original link on Jan. 11, 2022

359886.jpeg

In this article on CSS-Tricks, Mads Stoumann digs into :where(), Custom Properties, and Cascade Layers to control the CSS Cascade.

At the end, Mads concludes:

If you leave with only one takeaway from this article, I hope it’s that the CSS cascade is no longer the enemy it’s often made to be. We are gaining the tools to stop fighting it and start leaning into even more.

Don’t Fight the Cascade, Control It! →

Related: Later this month I’ll be speaking at CSS Café with a talk on the CSS Cascade. The talk will be held online, is free to join, and will be recorded.

bram link bram tutorialzine bram

« YAML: The Norway Problem - Use new and upcoming CSS features today, thanks to PostCSS »