Learn Tailwind CSSDecember 29, 2019 at 10:44am
Learn Tailwind CSS, the utility-first CSS framework from scratch
During this course we will be exploring the features of Tailwind CSS. As a quick recap, Tailwind is a utility-first framework designed to speed up the design process by completely removing the need for custom CSS. In the past, every HTML element would get a single class and that class would contain a lot of custom CSS in a separate CSS file. Though this is still the general practice, this practice leads to huge CSS files, reduces the ease of maintaining CSS and yields overall poorer developer experience.
Another advantage of a utility framework is its superior performance with caching due to not busting the cache for small CSS changes. Tailwind has been designed with incredible sensible defaults to make your designs look and feel "polished" and "designed" through the careful use of color palettes, color shades, sizing consistency and modern web best-practices. It's also worth noting, that Tailwind is mobile-first and has an easy naming convention with responsive designs built-in.
Need some customizations? Tailwind's robust customization system will allow you to customize/tweak/modify everything in the framework through the use of the
tailwind.config.jsfile. The customizations of Tailwind are beyond the scope of this course but rest assured that the default Tailwind classes are almost always exactly what you will need.
Advantages of Tailwind CSS
- No need for huge CSS files with custom CSS
- Easy to make design changes right from the view files
- Better developer experience
- Mobile-first designs from the start
- Designed with defaults for a polished and designed look and feel
- Easily customizable with the config file
Course by: Victor Gonzalez