Tailwind CSS

Technologies

What is Tailwind CSS?

Tailwind CSS is a utility-first CSS framework, created by Adam Wathan and first released in 2017. Instead of ready-made components, it gives you small classes that each do one thing, such as setting a margin, a color or a font size. You combine those classes in the HTML to build the design.

How Tailwind v4 works

Tailwind v4 was released in January 2025. It has a new engine and changes how a project is set up.

  • CSS-first configuration: colors, fonts, breakpoints and other design values are defined with @theme in the CSS file, instead of in tailwind.config.js.

  • Automatic content detection: Tailwind finds the files that use its classes by itself; you no longer list them.

  • Only what you use: classes that appear nowhere in the project are never generated, so there is no separate step to remove unused CSS.

Working with utility classes

  • Responsive variants: prefixes such as md: and lg: apply a class from a given screen width.

  • States: variants for hover, focus, dark mode and other states.

  • One theme: spacing, colors and font sizes come from one set of values, so the same values are used everywhere.

  • Local changes: a class on one element doesn't affect other elements, which keeps changes easy to oversee.

Upgrading from v3

Projects on Tailwind v3 keep working. Moving to v4 mainly means moving the configuration from tailwind.config.js to the CSS file. Tailwind provides an upgrade tool that does most of that work. v4 relies on modern CSS features, so check first whether the browsers your users have are supported.

Need help with Tailwind CSS?

Our team has extensive experience working with Tailwind CSS. Let us help you build, integrate, or optimize your project.

Explore our services