modern-normalize
modern-normalize copied to clipboard
Use of `all`, `:where()`, and `:not()` could make a better reset
See: https://github.com/elad2412/the-new-css-reset
This project is not resetting, it's normalizing.
You're right, I used the wrong word. Still could potentially be of use.
Can you provide some specific examples of how/where it would be useful? I'm curious.
:where isn't supported on old iOS: https://caniuse.com/mdn-css_selectors_where
For zero-specifity https://developer.mozilla.org/en-US/docs/Web/CSS/Specificity#the_where_exception See: https://github.com/csstools/normalize.css/blob/main/normalize.css https://github.com/u1ui/norm.css/blob/main/norm.css
One option to think would be @layer where all the normalization happens on a specific layer reserved just for that.