Get the latest tech news

Gems of Tailwind CSS


Unlock the full potential of Tailwind CSS for your Rails-based SaaS apps with our guide on hidden features. From changing checkbox colors to leveraging peer modifiers and custom variants, enhance your web UIs effortlessly.

I wanted to list some of the lesser known or obscure features, for future me, but most importantly for you to squeeze even more out of all that Tailwind CSS offers. You likely know about the font-size utilites ( text-sm, text-base and so on) and the line-height utilties (relative: leading-loose and leading-tight, fixed: leading-4 and leading-6). It took me a bit of time to remember the syntax, but it has proved a valuable default when doing more advanced UI work.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Gems

Gems

Photo of Tailwind CSS

Tailwind CSS

Related news:

News photo

Google introduces new 'Gems' ringtones for Pixel phones