I'm using TailwindCSS, I want a separate stylesheet CSS file for each of my web pages. like about.html - about.min.css portfolio.html - portfolio.css
CodePudding user response:
First you should ask yourself why do you want to do this? Creating a separate style-sheet for each individual page (home, about, etc) is not really common. The focus is on re-usability and possibly only adding additional styles.
If you are concerned about the file size, then do not integrate Tailwind via CDN but build your own style. Then you have access to the purge function. Purge kicks out all unused styles and the result is a very small CSS file.
CodePudding user response:
If you want multiple CSS output , then you should not be using Tailwind for your project.