CSS Garden Cultivate beautiful, standards-driven CSS

CSS Garden

Cultivate beautiful, standards-driven CSS


Latest Articles

Out-of-Office, Not Out-of-Answers: A CSS Handover for the Festive Break
Design Systems

Out-of-Office, Not Out-of-Answers: A CSS Handover for the Festive Break

A stylesheet does not stop growing because the team has logged off. This handover kit focuses on continuity: ownership notes, a plain-English map of custom properties and cascade layers, rollback steps, and a short homepage emergency playbook for whoever is on call.

Shared Furrows: Subgrid Layouts Without the Wrapper Weeds
Accessibility

Shared Furrows: Subgrid Layouts Without the Wrapper Weeds

Subgrid lets cards, form rows, and captions share a parent track structure without a thicket of wrapper divs. This deep dive uses UK charity and public-service examples to show where it simplifies layout, where it needs a fallback, and how to keep the DOM readable for everyone.

The Perennial Shed: Which CSS Helpers Earn Their Place Year After Year
Performance

The Perennial Shed: Which CSS Helpers Earn Their Place Year After Year

Utility classes multiply like self-seeded parsley, but a few CSS helpers keep earning their place season after season. This opinionated listicle separates durable, low-specificity helpers from trend-driven clutter, with simple tests for what stays in the shed and what gets composted.

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.

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.

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.

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