nuxt-modules / tailwindcss

Tailwind CSS module for Nuxt

Home Page:https://tailwindcss.nuxtjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to cancel the styles of h1~h6 and prohibit modification?

bbhxwl opened this issue · comments

How to cancel the styles of h1~h6 and prohibit modification?

image

This is part of the Tailwind CSS preflight (refer https://tailwindcss.com/docs/preflight#headings-are-unstyled) - you can set styles like h1 { all: unset; } but it's not recommended; you can either disable preflight or look into the typography plugin.