How To

2 Ways to Center an Absolute Positioned Element in TailwindCSS

In TailwindCSS, centering an element may be a challenge for beginners if they don't know the core concepts of CSS. You can center a...

2 Ways to Add Default Font Color and Size in TailwindCSS

TailwindCSS resets the default styles of every HTML element. If you are following a design system, you might have a default font size and...

List Styles in TailwindCSS – [Add Custom List Icon]

TailwindCSS removes all the default styles from every single HTML element. If you use an ordered or unordered list and expect the default circle...

2 Ways to Place Text on Image in TailwindCSS – [Text over Image]

Text over an image is very common in modern website design. Images having text on the top looks nice and also engage users on...

How to Add Divider Lines in TailwindCSS – [Vertical & Horizontal]

Modern UI designs have divider lines in almost everything. Web designers use a border or <hr/> tag to add divider line on web pages....

Change Color and Strokes of SVG Icon in TailwindCSS

SVG Icons are great in website design because these can be added directly to the code instead of imported as images. In TailwindCSS, you...

Children Selector in TailwindCSS – [Select All Direct Children]

One of the reasons why designers loving TailwindCSS is that it provides almost everything that you need. There are many use cases where you...

How to Use Letter Spacing in TailwindCSS – [Complete Guide]

In CSS, letter-spacing is used to add spacing between characters. TailwindCSS doesn't provide a class starting with letter-spacing and it hard to remember the...

How to Use Line Height in TailwindCSS – [Complete Guide]

TailwindCSS is known for the "easy to remember classes" but when it comes to line-height in TailwindCSS, it's not easy to remember the class....

Latest articles