Blogs

The Cicada Principle, revisited with CSS variables

Css Tricks

Lea Verou digging up the CSS trickery classic and applying it to clip the backgrounds of some code blocks: The main idea is simple: You write your main rule using CSS variables, and then use :nth-of-*() rules to set these variables to something different every N items.

Visit Site

The Cicada Principle, revisited with CSS variables
Unsuck It | CSS-TricksCss Tricks Responsive Iframes | CSS-TricksCss Tricks Finally... A Post on Finally in Promises | CSS-TricksCss Tricks Weekly news: Truncating muti-line text, calc() in custom property values, Contextual AlternatesCss Tricks What the Web Needs Now (and how ARTIFACT is here for it)Css Tricks What I Like About VueCss Tricks Creating Color Themes With Custom Properties, HSL, and a Little calc()Css Tricks Config and Secret environment variablesVercel Configuration and settingsOpentelemetry OTLP Exporter ConfigurationOpentelemetry Lists all Shared Environment Variables for a team | Vercel REST APIVercel Destructuring declarationsKotlinlang Batch remove environment variables | Vercel REST APIVercel All Pulumi CLI flags are now supported as environment variablesPulumi Bitwise flags - GlossaryDeveloper Mozilla Batch remove environment variables | Vercel SDKVercel Introducing BunnyCDN Vary CacheBunny Webinar On DemandStop hardcoding. Start governing: Developer secrets and AI Agents at scale1password From idea to secure checkout in minutes with StripeVercel Lightstep’s ‘Change Intelligence’ Promises Faster, Smarter Distributed TracingThenewstack