Search⌘ K
AI Features

Adding Base Classes

Explore how to add custom base classes in Tailwind CSS to override or extend default Preflight styles. Learn to modify heading and paragraph styles and understand how to rebuild your CSS to apply these changes, enhancing your workflow customization skills.

We'll cover the following...

As we already know, Tailwind automatically adds Preflight base styles to each project by default. These settings do things like remove the default browser styles for the headings, paragraphs, lists, and so on, which may be unwanted.

So if we don’t want Preflight styles, we ...