Back
Syntax
Study
Editor
Mode:
HTML
CSS
JavaScript
PHP
Reset
Run »
HTML / CSS / JS
@layer base, components, utilities; @layer base { a { color: blue; } } @layer components { .btn { color: white; background: navy; } } @layer utilities { .text-red { color: red !important; } } /* utilities layer wins over components, even with lower specificity */
Result
Open