Tailwind

Tailwind CSS is a utility-first styling framework. Layout and spacing are expressed as classes in the markup rather than as bespoke rules in a stylesheet, and the framework compiles ahead of time into a single file the theme enqueues. A theme either carries that compiled layer or it does not.

Documented at https://tailwindcss.com/.

How We've Used It

One gated build sits on it: a promo rail whose blocks are rendered twice, once into a utility-class grid and once into a slider track, because the same content has to be a static grid above a breakpoint and a swipeable rail below it. Where the theme already compiles the framework, using its grid classes keeps that section from adding another block of section-scoped CSS to a page that already carries plenty. The prefix on those classes is also how you can tell the section postdates the layer it depends on.

Builds Using It

Related Entities

Our Role

Integration. We author markup against the layer the theme compiles; the framework is open source and stays as published.

Builds