with one click
css
Write modern CSS with proper stacking contexts, layout patterns, responsive techniques, and performance optimization.
Menu
Write modern CSS with proper stacking contexts, layout patterns, responsive techniques, and performance optimization.
DESCRIPTION of what this skill does. Include specific trigger keywords and scenarios. Use when: scenario1, scenario2, scenario3.
First-time setup for the Durable Agents stack (Mastra + Trigger.dev). Run once before using the main skill.
Read/search Gmail via gog CLI. Inbox check, email search, content retrieval.
Bloom Mission Discovery — find missions matched to your taste, submit content, and track rewards. Powered by Bloom Protocol.
One-sentence description. Use when [trigger scenarios].
Use cheap, TEE-verified AI models from the 0G Compute Network as OpenClaw providers. Discover available models and compare pricing vs OpenRouter, verify provider integrity via hardware attestation (Intel TDX), manage your 0G wallet and sub-accounts, and configure models in OpenClaw with one workflow. Supports DeepSeek, GLM-5, Qwen, and other models available on the 0G marketplace.
| name | CSS |
| slug | css |
| version | 1.0.1 |
| description | Write modern CSS with proper stacking contexts, layout patterns, responsive techniques, and performance optimization. |
| metadata | {"clawdbot":{"emoji":"🎨","os":["linux","darwin","win32"]}} |
User needs CSS expertise — from layout challenges to production optimization. Agent handles stacking contexts, flexbox/grid patterns, responsive design, performance, and accessibility.
| Topic | File |
|---|---|
| Layout patterns | layout.md |
| Responsive techniques | responsive.md |
| Selectors and specificity | selectors.md |
| Performance optimization | performance.md |
z-index only works with positioned elements—or flex/grid childrenisolation: isolate creates stacking context—contains z-index chaos without positionopacity < 1, transform, filter create stacking context—unexpected z-index behavioroverflow: hidden on flex container can break—use overflow: clip if you don't need scrollflex: 1 means flex: 1 1 0%—basis is 0, not automin-width: 0 on flex child for text truncation—default min-width is min-contentflex-basis vs width: basis is before grow/shrink—width is after, basis preferredgap works in flex now—no more margin hacks for spacingfr units don't respect min-content alone—use minmax(min-content, 1fr)auto-fit vs auto-fill: fit collapses empty tracks, fill keeps themgrid-template-columns: 1fr 1fr is not 50%—it's equal share of REMAINING spacemin-width media queries, base styles for mobile@container (min-width: 400px)—component-based responsivecontainer-type: inline-size on parent required—for container queries to workclamp(min, preferred, max) for fluid typography—clamp(1rem, 2.5vw, 2rem)min() and max()—width: min(100%, 600px) replaces media queryfit-content sizes to content up to max—width: fit-content or fit-content(300px):is() for grouping—:is(h1, h2, h3) + p less repetition:where() same as :is() but zero specificity—easier to override:has() parent selector—.card:has(img) styles card containing image:focus-visible for keyboard focus only—no outline on mouse clickscroll-behavior: smooth on html—native smooth scroll for anchorsoverscroll-behavior: contain—prevents scroll chaining to parent/bodyscroll-snap-type and scroll-snap-align—native carousel without JSscrollbar-gutter: stable—reserves scrollbar space, prevents layout shiftinset: 0 equals top/right/bottom/left: 0—less repetitionplace-items is align-items + justify-items—place-items: center centers bothmargin-inline, margin-block for logical properties—respects writing directioncontain: layout isolates repaints—use on independent componentscontent-visibility: auto skips offscreen rendering—huge for long pageswill-change sparingly—creates layers, uses memoryprefers-reduced-motion: reduce—disable animations for vestibular disordersprefers-color-scheme—@media (prefers-color-scheme: dark) for dark modeforced-colors: active—adjust for Windows high contrast