How To

How to Use RGBA Color in TailwindCSS | Color Customization

Looking to control the opacity of the color just like you do in regular CSS with rgba(). Fortunately, Tailwind CSS provides several ways to...

How to Use Z-index in TailwindCSS – [Complete Guide]

Are you tired of elements overlapping and not appearing in the desired order on your web page? Well, as you are using TailwindCSS, you...

Using Viewport Height for Div Container in TailwindCSS

There are many use cases where you want the viewport height to be the default height of the container. For example, you want the...

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...

Latest articles