TailwindCSS

Understanding TailwindCSS Container

Understanding TailwindCSS Container

If you have used CSS frameworks, you must have used the container class, TailwindCSS does also have a container utility class but it certainly differs a bit from other frameworks. In this article,...

Aug 28, 2022 · Tushar
Center Tailwind Container and add Padding

Center Tailwind Container and add Padding

By default Tailwind’s container does not center itself automatically and does not have any built-in horizontal padding. Centering the Container To center the container add the mx-auto utility &lt...

Jun 23, 2022 · Tushar
Add prefix to the tailwind utility classes

Add prefix to the tailwind utility classes

When you are using TailwindCSS in some cases you might want to add a prefix to your tailwind utility classes so that it doesn't mess up with your other library. I often do this when I am using both b...

Jun 23, 2022 · Tushar
Install TailwindCSS on a HTML Project

Install TailwindCSS on a HTML Project

In this article let's go over how we can install TailwindCSS on an HTML project. The simplest and fastest way to get up and running with Tailwind CSS from scratch is with the Tailwind CLI tool. 1. In...

Jun 19, 2022 · Tushar