#In the solid starter tailwind template, why does tailwind unstyle eveything "h1, h2, ..." "ul, li,..

6 messages · Page 1 of 1 (latest)

slate raptor
#

That comes from Tailiwind's preflight.

lament fjord
#

You can use tailwinds typography plugin and it will add a lot of the styles back to those HTML element when you add the class "prose" to the HTML element

#

you can also opt out of preflight with tailwind

slate raptor
#

The point of preflight is to provide the even starting ground, no matter which browser the user is using, and I would recommend using it, unless you are adding Tailwind to an existing project .

#

Defaulting to border-box, unstyled headings, no borders by default - all make sense to me.