Tailwind CSS Margin
This class accepts lots of values in tailwind CSS in which all the properties are covered as in the class form. It is the alternative to the CSS Margin Property. This class is used to create space around the element, outside any defined border. We can set different margins for individual sides(top, right, bottom, left). It is important to add border properties to implement margin classes. There are lots of CSS properties used for margin like CSS padding-top, CSS padding-bottom, CSS padding-right, CSS padding-left, etc....
read more
How to use font from local files globally in Tailwind CSS ?
Tailwind CSS provides a set of default font families that you can use in your projects. These font families are defined as utility classes in the form of font-{family-name} and can be easily applied to any HTML element....
read more
How to use Ant Design with Tailwind CSS in a React Project ?
The integration of Ant Design and Tailwind CSS in a React project presents challenges due to their differing styling conventions. Ant Design offers a feature-rich component library with its own class names, while Tailwind CSS provides a utility-first framework for custom designs. Combining both libraries requires a thoughtful approach to applying their respective styles to the same components, achieving a balance between Ant Design’s components and Tailwind CSS’s flexible styling capabilities....
read more
How to add Full Screen Background Video using Tailwind CSS ?
Tailwind CSS is a CSS framework that helps in building rapid custom UI. It is a highly customizable, low-level CSS framework that gives you all of the building blocks that you need. Tailwind CSS creates small utilities with a defined set of options enabling easy integration of existing classes directly into the HTML code....
read more
Tailwind CSS Font Size
This class accepts lots of value in tailwind CSS in which all the properties are covered as in class form.  It is the alternative to the CSS font-size property. This class is used to set the font size of the text in an HTML document....
read more
How to add new colors to tailwind-css and keep the originals ones ?
You can easily add new colors to Tailwind CSS and keep the originals ones using customization configuration. You can configure your colors under the colors key in the theme section of your tailwind.config.js file....
read more
Tailwind CSS Grid Template Rows
This class accepts more than one value in tailwind CSS and all the properties are covered as in class form. It is the alternative of CSS grid-template-row property in CSS. It is used to set the number of rows and size of the rows of the grid, here we will do the same but for fast development of front-end. The number of rows is set by the number of values given to this class....
read more
Create an Image Gallery to view it in a Modal in Tailwind CSS
Modals are like pop-up windows that show content without navigating away from the page. By putting your image gallery in a modal, you give visitors a clear view of your images without any distractions. With Tailwind CSS, you can quickly set up and customize modal-based image galleries, making your website more engaging and user-friendly....
read more
Tailwind CSS Placeholder Color
This class accepts lots of value in tailwind CSS in which all the properties are covered as in class form. By using this class we can color any placeholder text. In CSS, we do that by using the CSS Color property....
read more
Tailwind CSS Text Color
This class accepts lots of value in tailwind CSS in which all the properties are covered in class form. By using this class we can color any text. In CSS, we do that by using the CSS Color property....
read more
How to Solve “Default Colors Not Working” Issue in Tailwind CSS ?
Tailwind CSS is a popular CSS framework noted for its extensive style and simplicity of use, Tailwind consists of various default colors that can be used to style various components on the web page. The tailwind CSS documentation consists of various default colors for styling various elements these colors are based on simple names that make users easy to understand....
read more
Tailwind CSS Drop Shadow
The Drop Shadow class is used to apply a filter to the image to set the shadow of the image. This class creates a blurred shadow in a given offset and color. In CSS, we do that by using the CSS drop-shadow() Function. Tailwind CSS newly added feature brightness in 2.1 version....
read more