csstools / csstools/normalize.css
Use `@layer`
Open
- Dominant language
- HTML
- Stars
- 656
- Forks
- 66
- PR merge metrics
- No merged PRs in 30d
Description
Have you considered replacing the wrapping of selectors in `:where()` with wrapping the entire library in the `@layer normalize`?
This would also avoid the specificity affect, but with the same simple selectors.
Contributor guide
Research direction
Start by reading the library's current CSS and locating where selectors are wrapped in :where(). Compare that structure with wrapping the library in @layer normalize, then check the resulting specificity behavior and confirm the chosen approach across the project's existing normalization rules.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100