csstools / csstools/normalize.css

Use `@layer`

Open
#26 2 comments 2 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.