csstools / csstools/normalize.css
Use `@layer`
未关闭
- 主要语言
- HTML
- 星标
- 656
- 派生
- 66
- PR 合并指标
- 30 天内没有已合并 PR
描述
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.
贡献指南
调研方向
首先阅读库当前的 CSS,并定位选择器被包裹在 :where() 中的位置。将该结构与把库包裹在 @layer normalize 中进行比较,然后检查由此产生的 specificity 行为,并根据项目现有的规范化规则确认所选方法。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- css
- 领域
- frontend
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100