Tailwind classes overwrite my application.css?

Fresh Rails install with --css tailwind. In application.css, I set h1 { font-size: 10rem } but in chrome devtools, I see that my rule is overwritten with font-size: inherit from Tailwind. How can I set my own styles for headings?

How are you loading CSS in your tag?

<%= stylesheet_link_tag :all, "data-turbo-track": "reload" %>

I have that and it loads tailwind + custom CSS files.

Thanks I’ll give that a try!