TailwindCSS extended base style overridden by unknown style
Hello everyone. I had an issue with my React + Tailwind + Vite project. The problem is that I tried to extend the base style of my heading elements (h1, h2, ...) and somehow only the font-size is not being styled properly. I checked on the browser developer tools, the font size is overridden by CSS that I didn't write (see attached image).
I tried to: 1) Clear the cache 2) Remove node_modules completely and rerun
npm install
npm install
3) Check for styled-components usage (there is none in my project) 4) Making sure I installed Tailwind correctly (https://tailwindcss.com/docs/guides/vite) 5) Asking ChatGPT for possible solutions
The only warning I got when running
npm run dev
npm run dev
is: warn - No utility classes were detected in your source files. If this is unexpected, double-check the
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.