Adding Base Classes

Learn how to add a base class to override or extend Preflight styles in projects.

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 can disable them by setting the preflight value to false.

Get hands-on with 1200+ tech skills courses.