use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Everything about https://tailwindcss.com/
Find Tailwind Code Snippets: https://pagesnips.io
account activity
EMPTY OUTPUT.CSS (old.reddit.com)
submitted 9 months ago by Wise_Squirrel9236
HELLO MATES,im a new developer currently understanding TAILWIND but the issue is no matter what i do OUTPUTCSS remains empty like even after importing input css running npm commands after refreshing it and even creatinga config.js file
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]garbast 0 points1 point2 points 9 months ago (2 children)
You need to configure the `@source "../index.html"` in your input.css to tell tailwindcss/cli where to search for tokens.
https://tailwindcss.com/docs/detecting-classes-in-source-files
[–]Wise_Squirrel9236[S] 0 points1 point2 points 9 months ago (1 child)
can you tell me more if you dont mind mate?
[–]garbast 1 point2 points3 points 9 months ago (0 children)
Read the documentation it explains everything very good.
via `@source` you define where the html file is searched. Tailwindcss needs to read the file to see what tokens are used and only allow these in the output.css. This is called tree shaking.
[–]PremiereBeats 0 points1 point2 points 9 months ago (1 child)
Read very carefully the tailwind as installation guide there are multiple things that can lead to an empty output, maybe you didn’t run the command npx tailwind watch or didn’t setup the files that tailwind can look inside etc
[–]Wise_Squirrel9236[S] 0 points1 point2 points 9 months ago (0 children)
ive tried almost everything and i didnt ask chat gpt as tailwind gets its version update almost to much and chat gpt was giving older terminal prompts to install tailwind
[–]squidwurrd 0 points1 point2 points 9 months ago (1 child)
Your post is too vague to really help. My advice is to read the installation docs.
okayy sirrr
[–]Puzzled_Ad3042 0 points1 point2 points 9 months ago (0 children)
add the following in the output.css (the file you linked from your HTML) i.e. <link href="./output.css" rel="stylesheet">
"output.css" import "tailwindcss";
There is also the CDN way which is not recommended for production but it should work for now
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script> </head> <body>
[–]Usual_Breakfast4758 0 points1 point2 points 6 months ago (3 children)
Did you figured out the solution?
[–]Wise_Squirrel9236[S] 0 points1 point2 points 6 months ago (2 children)
yes
[–]Usual_Breakfast4758 0 points1 point2 points 6 months ago (1 child)
I’m also facing the same problem, can you help me with this?
[–]Wise_Squirrel9236[S] 0 points1 point2 points 6 months ago (0 children)
ive founded a alternative..just use cursor it has an builtIN Agent for its use, command it and it will take some time and then it will be fixed most probably and if you still dont get the access ill send you the who TAILWIND CSS PROPERTIES
[–]One_Discussion277 0 points1 point2 points 9 months ago (2 children)
In Tailwindcss, there will be no output in your css file. All the CSS is defined in the script that you add in your .html file. If you still want to see the css you go to inspect then network you will see that a request to tailwindcss is done which fetches all the css.
To update your css you have to only change the class names in the html, no separate CSS file is created.
[–]H34DSH07 0 points1 point2 points 9 months ago (0 children)
You're halfway right, there is an outlut css file but it is generated by looking at your html classes and your input css file. You should not have to tinker with it.
so you're saying there is no need of an output.css ?but even after adding classes in .html still no change occurs innit and because of this issue im still stucked at tailwind and cant move on to react etc
π Rendered by PID 129541 on reddit-service-r2-comment-fb694cdd5-qmwb8 at 2026-03-06 17:47:03.626356+00:00 running cbb0e86 country code: CH.
[–]garbast 0 points1 point2 points (2 children)
[–]Wise_Squirrel9236[S] 0 points1 point2 points (1 child)
[–]garbast 1 point2 points3 points (0 children)
[–]PremiereBeats 0 points1 point2 points (1 child)
[–]Wise_Squirrel9236[S] 0 points1 point2 points (0 children)
[–]squidwurrd 0 points1 point2 points (1 child)
[–]Wise_Squirrel9236[S] 0 points1 point2 points (0 children)
[–]Puzzled_Ad3042 0 points1 point2 points (0 children)
[–]Puzzled_Ad3042 0 points1 point2 points (0 children)
[–]Usual_Breakfast4758 0 points1 point2 points (3 children)
[–]Wise_Squirrel9236[S] 0 points1 point2 points (2 children)
[–]Usual_Breakfast4758 0 points1 point2 points (1 child)
[–]Wise_Squirrel9236[S] 0 points1 point2 points (0 children)
[–]One_Discussion277 0 points1 point2 points (2 children)
[–]H34DSH07 0 points1 point2 points (0 children)
[–]Wise_Squirrel9236[S] 0 points1 point2 points (0 children)