Adding Base Classes
Learn how to add a base class to override or extend Preflight styles in projects.
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 1300+ tech skills courses.