协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
css-non-blocking【开发与工程】Use when reviewing stylesheets, component styles, and responsive behavior related to Load CSS without blocking render. Check the rendered layout across breakpoints and interaction states before proposing a fix.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Render-blocking CSS delays First Contentful Paint—users see a blank screen while waiting for stylesheets to download and parse.
<link rel="preload" as="style"> with onload handlerAnalyze this CSS loading implementation to ensure stylesheets are loaded without blocking the DOM parsing and rendering process.
Implement non-blocking CSS loading using the preload technique with media attributes and loadCSS polyfill for better performance.
Explain how non-blocking CSS loading improves page performance by preventing render-blocking resources from delaying the initial paint.
Review stylesheets, component styles, and responsive states related to Load CSS without blocking render. 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/css-non-blocking