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 Updated

File contents

schalkneethling/masonry-gridlanes-wc commit 76e471208b

Frequently asked questions

npx get-skill add schalkneethling/css-shared-first