Wrap CSS reset in a cascade layer

This commit is contained in:
Leilukin 2024-11-04 13:39:42 +08:00 committed by Helen Chong
parent 9acbbcac32
commit bbbbfcb1c9

View File

@ -54,6 +54,7 @@
/* CSS Reset */
/* ------------------- */
@layer reset {
/* Box sizing rules */
*,
*::before,
@ -105,3 +106,4 @@ textarea:not([rows]) { min-height: 10em; }
/* Anything that has been anchored to should have extra scroll margin */
:target { scroll-margin-block: 5ex; }
}