Modern CSS with Tailwind, Second Edition (PragProg)

This new edition of the book covers Tailwind 3.0, which changes the way Tailwind generates its CSS. Tailwind 3.0 has a large number of new features powered by the new system, including the ability to use arbitrary values with most Tailwind class patterns, and a new syntax for combining color and opacity in a single class. This book also covers the new standalone command-line tools for Tailwind.

tailwind2-500

Noel Rappin @noelrappin

edited by Katharine Dvorak @katied

With CSS, you can do amazing things to the basic text and images on your website, and with just a little bit of client-side code to add and remove CSS classes, you can do exponentially more.

In the latest edition of this book, you’ll learn how to use Tailwind 3.0 and the new way it generates CSS. You’ll code your way through Tailwind’s newest features, including the ability to use arbitrary values with most Tailwind class patterns and a new syntax for combining color and opacity in a single class. You’ll even dive into the new standalone command-line tools for Tailwind.

The Tailwind setup is extremely explicit and makes it possible to understand the display just by looking at the HTML markup. Start by designing the typographic details of the individual elements, then placing and manipulating those elements in “the box” using a flexbox or grid design. Finally, move those elements around the page with helpful small animations and transitions.

With Tailwind, it’s easy to prototype, iterate, and customize your display, use prefixes to specify behavior, change defaults, add new behavior, and integrate with legacy CSS.

Use Tailwind to make extraordinary web designs without extraordinary effort.


Noel Rappin is a Staff Engineer at Root Insurance. Noel has authored multiple technical books, including Modern Front End Development For Rails and Rails 5 Test Prescriptions. He also hosted the podcast Tech Done Right. Follow Noel on Twitter at @noelrap and online at noelrappin.com.


Don’t forget you can get 35% off with your Devtalk discount! Just use the coupon code “devtalk.com" at checkout :+1:

2 Likes