CSS Structure

Where CSS should live. Claude defaults to dumping a giant <style> block or scattering style="..." attributes instead of putting styles in a .css file and linking it. Use when building or editing a web page or component, or whenever about to write a style attribute or an embedded style block. Covers defaulting to an external stylesheet, why inline style attributes are a trap, and the few cases where inline is actually correct (dynamic values via custom properties, critical CSS, single-file artifacts, email).

TheDecipherist ec0c0d4 3.6 KB Updated

File contents

thedecipherist/claude-code-mastery-project-starter-kit/tree/main/.claude/skills/css-structure commit ec0c0d4cd4

Frequently asked questions

npx skillmds@latest add thedecipherist/css-structure