CSS Shared First

Apply the Shared First CSS methodology when writing responsive styles. Use this skill whenever writing or reviewing CSS that involves media queries, responsive layouts, viewport-specific overrides, or breakpoint-driven design. Trigger when the user asks to write responsive CSS, refactor mobile-first CSS, or when any component or layout has viewport-specific styles. This skill replaces mobile-first pattern guidance — always prefer Shared First unless the user explicitly requests mobile-first.

schalkneethling 76e4712 6.9 KB Updated

File contents

schalkneethling/masonry-gridlanes-wc/tree/main/.agents/skills/css-shared-first commit 76e471208b

Frequently asked questions

npx skillmds@latest add schalkneethling/css-shared-first