Dictionary
Tailwind CSS
Tailwind CSS is a utility-first CSS framework that provides low-level utility classes for building custom designs directly in HTML markup. Instead of writing CSS in separate files, developers compose designs using classes like flex, pt-4, text-center, and bg-blue-500 directly on elements. The framework eliminates the need to name CSS classes or manage growing stylesheets while maintaining complete design flexibility.
The utility-first approach produces highly maintainable codebases because styles are explicit in the markup and deleting an element automatically removes its styles. A purge step in production removes all unused utility classes, resulting in small CSS bundles typically under 10KB. The configuration file allows customizing the design system with project-specific colors, spacing scales, fonts, and breakpoints. Responsive design is handled through breakpoint prefixes like md: and lg:, and state variants like hover: and focus: keep interaction styles inline. Tailwind has become one of the most widely adopted CSS frameworks in modern web development.