April 25, 2024, 10 a.m. | Rails Designer

DEV Community dev.to

This article published first on Rails Designer (view the original article for the some HTML previews).


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.





Change radio/checkbox colors


Use the accent-* utilities to change the color of a checkbox or radio button.



<label>
<input type="checkbox" checked> Default
</label>
<label class="ml-3">
<input type="checkbox" class="accent-pink-600" checked> The sky is …

accent article change colors css design designer features future hidden html list radio rails tailwindcss utilities view webdev

Artificial Intelligence – Bioinformatic Expert

@ University of Texas Medical Branch | Galveston, TX

Lead Developer (AI)

@ Cere Network | San Francisco, US

Research Engineer

@ Allora Labs | Remote

Ecosystem Manager

@ Allora Labs | Remote

Founding AI Engineer, Agents

@ Occam AI | New York

AI Engineer Intern, Agents

@ Occam AI | US