Skip to main content
在 Manus 中运行任何 Skill
一键导入

css-baseline

星标2
分支0
更新时间2026年6月9日 22:04

Modern CSS (2026) style guide for plain CSS and CSS Modules. Apply automatically when writing, editing, or reviewing .css, .module.css, or .scss files. Targets Chrome (last 4) and Safari 26+. No fallbacks, no @supports hedges, no legacy support. Prescribes Grid/Flexbox over position:absolute for layout; intrinsic sizing (min-content, fit-content, clamp()) over fixed pixels; container queries for component-level responsive; CSS custom properties for every repeated value; OKLCH color space; light-dark() for theming; :has() and @scope over deep selector chains; @layer for cascade order over !important; native CSS Nesting; View Transitions API for navigation; scroll-driven animations via animation-timeline; anchor positioning for floating UI; text-wrap balance/pretty for typography; field-sizing for auto-resizing form controls; popover API for overlays. When editing existing CSS, apply these rules even if surrounding code is older - do not cargo-cult legacy patterns.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

文件资源管理器
11 个文件
SKILL.md
readonly