协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
responsive-units【开发与工程】Use when reviewing stylesheets, component styles, and responsive behavior related to Use relative units for responsive layouts. Check the rendered layout across breakpoints and interaction states before proposing a fix.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Fixed pixel values override user browser preferences, making your site inaccessible to users who increase their default font size (a common accommodation for low vision). Relative units also reduce the number of breakpoints needed — elements naturally adapt to available space rather than requiring explicit overrides at every viewport width.
Find all px-based font-size, width, and padding values in this CSS file that should use relative units instead.
Convert fixed px font sizes to rem equivalents and replace fixed widths with percentage or relative alternatives.
Explain the difference between rem, em, %, vw, and vh, and when to use each one.
Review stylesheets, component styles, and responsive states related to Use relative units for responsive layouts. Flag exact selectors, declarations, or breakpoints that violate the rule in the rendered UI.
For full implementation details, code examples, and framework-specific guidance,
see references/rule.md.
Rule page: https://frontendchecklist.io/rules/css/responsive-units