Tailwind CSS offers hidden gems like changing radio/checkbox colors, using the peer-modifier, styling file inputs, changing color opacity, combining font-size and line-height, using pointer events, truncating multi-line text, creating square elements, highlighting text, styling named groups, adding custom variants, and using arbitrary values.
Table of contents
Change radio/checkbox colorsPeer-modifierStyle file-inputsChange color opacityCombing font-size and line-heightPointer eventsTruncating multi-line textCombine width and height for square elementHighlight textNamed groupsAdd custom variantsArbitrary values5 Comments
Sort: