CSS Garden Cultivate beautiful, standards-driven CSS

CSS Garden

Cultivate beautiful, standards-driven CSS


Latest Articles

Train the Selector, Don't Strangle the Page: A Sane Approach to :has()
Accessibility

Train the Selector, Don't Strangle the Page: A Sane Approach to :has()

:has() is brilliant at describing relationships and state, but it is not a universal JavaScript replacement. Here is where the selector earns its keep in forms, cards, and navigation, and where teams should reach for something else.

Before the Tills Get Busy: A Winter CSS Audit with @supports
Performance

Before the Tills Get Busy: A Winter CSS Audit with @supports

The January sales put UK retail, charity, and council sites under real pressure. This winter prune uses @supports, browser support data, and progressive enhancement to keep fragile CSS out of peak traffic.

Planting by Space, Not Device: Responsive CSS for Real UK Rooms
Design Systems

Planting by Space, Not Device: Responsive CSS for Real UK Rooms

A Cornish bakery, a London coworking desk, and a smart TV in a Welsh heritage cottage do not need the same grid. Container queries, clamp(), and modern viewport units let each layout bed find its own shape.

Performance

The Native CSS Toolbox: Twelve Features That Shrink Your Sass Build

Sass earned its place when CSS was less capable. In 2026, twelve native features cover most of the same ground, from nesting and @property to :has() and @scope. Here is what each one retires, and what still keeps the build step alive.

Allotment Rules for Design Tokens: Grow Patches, Not a Monoculture
Design Systems

Allotment Rules for Design Tokens: Grow Patches, Not a Monoculture

Design token systems fail like allotment monocultures: one crop everywhere, one pest, and the whole plot suffers. This opinionated guide separates primitive, semantic, and component tokens so teams can grow their own patches without forking the system.

Grey November Contrast: Palettes That Survive a Manchester Drizzle
Accessibility

Grey November Contrast: Palettes That Survive a Manchester Drizzle

A palette can pass a contrast checker and still fail on a grey Manchester afternoon. This UK-focused guide covers relative luminance, oklch() ramps, forced-colors, and a practical audit checklist for public sector work.

Specificity Debt: How Your CSS Cascade Became a Weed-Choked Mess
Performance

Specificity Debt: How Your CSS Cascade Became a Weed-Choked Mess

Most developers think they understand the CSS cascade — until their stylesheet starts fighting back. We dig into the myths, the missteps, and the practical fixes that'll help you reclaim control of your specificity garden before it goes completely feral.

Spring Cleaning Your CSS: The Developer's Guide to Stylesheet Maintenance
Performance

Spring Cleaning Your CSS: The Developer's Guide to Stylesheet Maintenance

Just as British gardeners prepare for spring with a thorough tidy-up, your stylesheets deserve the same seasonal attention. Learn practical techniques for identifying and removing CSS deadwood that's quietly throttling your site's performance.

Recommended

non gamstop casinos casinos not on gamstop non gamstop casinos UK non gamstop casinos UK