Skip to main content
0 votes
1 answer
23 views

New to Tailwind and I am asking this as Tailwind is defined as a framework. Not sure if it's feasible but can we scope tailwind to particular div? Putting this in a bit detail as you can understand ...
joseph son's user avatar
2 votes
2 answers
113 views

Always I reload any page happens a quick flash that changes the entire system to dark mode and comes back again, but really quick. Before, this was happens also on dark mode too, but I could fix it ...
Samuel Franklin's user avatar
0 votes
0 answers
26 views

I'm trying to recreate an overlapping box layout where one box appears to "intrude" into another box's border with a smooth, curved notch effect (not just a straight cutout). Here is the ...
BigLadDylan's user avatar
-3 votes
0 answers
17 views

When I run the command npx tailwindcss init -p, i get an error saying "npm error could not determine executable to run". How do I fix this?
Obed Adu-Gyamfi's user avatar
0 votes
1 answer
59 views

So the documentation suggests that if I want a manual toggle, I should write it like this: If you want your dark theme to be driven by a CSS selector instead of the prefers-color-scheme media query, ...
rozsazoltan's user avatar
  • 18.4k
1 vote
0 answers
54 views

I'm building an embedded widget as a Web Component using Vite + Tailwind CSS. When the app runs standalone, Tailwind responsive breakpoints (sm, md, lg, xl) work correctly, because they react to ...
Ivan Pruchai's user avatar
-1 votes
2 answers
86 views

I am using TailwindCSS in my React + Vite project, and the classes are loaded correctly. The UI looks complete. The problem is that colors from variables defined in tailwind.config.js are not applied. ...
kobi shunak's user avatar
1 vote
2 answers
53 views

There is a Vite project using TailwindCSS v4. v4 already targets Baseline 2023 and correctly uses oklch() colors. Input CSS @theme { --color-demo: oklch(98% 0.006 251deg); } Generated CSS with Vite ...
rozsazoltan's user avatar
  • 18.4k
0 votes
1 answer
26 views

With shorthand import, this is easy: @import "tailwindcss" source(none); Although the documentation addresses what happens if I don't use @import "tailwindcss";: https://...
rozsazoltan's user avatar
  • 18.4k
0 votes
2 answers
55 views

I'm trying to implement dark mode in my Next.js app using TailwindCSS. However, TailwindCSS's dark: classes are not being applied, even when the .dark class is present on the <html> tag. global....
Abhinav Shinde's user avatar
-1 votes
0 answers
44 views

I am using Radix theme https://www.radix-ui.com/themes/docs/overview/getting-started and I am specifically using the Table component. I want to override default styling for just the Table.Header ...
michaelNL's user avatar
-1 votes
1 answer
67 views

I have a fairly large svelte kit tailwind project. I updated all dependencies to latest, including TailwindCSS. My current dependencies are as follows: { "devDependencies": { // ....
Justin's user avatar
  • 1,169
2 votes
1 answer
60 views

I'm using Vite v7.2.4, Tailwind v4.1.17 with DaisyUI v5.5.5. I'm trying to create a full page website where the Navbar will be always visible and the section will change. But every time I add a Navbar ...
Alan's user avatar
  • 23
0 votes
2 answers
83 views

Here is a sample snippet. My expectation is that all the styles specified in @layer components .card will be applied on the div instead of the utility classes. But the div takes background color from ...
Sree Nath's user avatar
  • 553
0 votes
0 answers
22 views

I recently joined my university’s CS group and started learning Tailwind using the Phoenix framework. To practice, I cloned a repository of an ongoing project. After a few days, I decided to create a ...
EDRO's user avatar
  • 22

15 30 50 per page
1
2 3 4 5
710