10,569 questions
-3
votes
0
answers
56
views
Symfony AssetMapper resolves `@import "tailwindcss"` as a physical file path when using Preline UI [closed]
I'm integrating Preline UI into a Symfony application using AssetMapper (no webpack/encore). After following the Preline UI Symfony tutorial, my page fails to load with the following console error:
...
-2
votes
0
answers
57
views
Trying to build UI using react tailwind not able to figure out how to get he desired output [duplicate]
I'm trying to build a UI where a large heading partially reveals an image inside the text while the remaining part of the image stays visible normally below the text.
Layout idea:
Top section ...
0
votes
1
answer
129
views
Making base color utility class in Tailwind
Based on the Tailwind 4 source code, --value(--color-*-50) is not a valid syntax. But I would really like to make something similar to this:
@import "tailwindcss";
@utility base-* {
--...
-3
votes
1
answer
162
views
Smooth scroll snapping between full-screen sections in Next.js + Tailwind sometimes skips sections or gets stuck
I’m building a frontend application using Next.js and Tailwind CSS where each section takes up the full viewport height (100vh). I want to implement a scroll-to-next-section behavior (similar to ...
0
votes
1
answer
96
views
How can I group Tailwind CSS v4 @variant rules?
In Tailwind CSS v4, with the new CSS-first configuration, variants can be defined using @variant {variant-name}.
For example, a utility like this: hover:not-focus:bg-sky-900
<script src="https://...
2
votes
1
answer
75
views
Transition a `<dialog>` open with Tailwind CSS
I want to transition a modal <dialog> element when it is opened by sliding it onto the screen. However, I can only get it to transition out, and not in. I've read the section on MDN for ...
1
vote
1
answer
569
views
Expo + NativeWind crash when editing Tailwind class (Cannot read properties of undefined (reading 'addedFiles'))
I am working on a new Expo project (SDK 55) with NativeWind. The app runs successfully, but every time I change a Tailwind class (e.g., text-red-500 → text-blue-500) and save the file, Metro crashes.
...
4
votes
1
answer
131
views
The edges of white image shows when absolute sibling div above it [duplicate]
I'm trying to create an overlay <div> on top of an <img>. The overlay is visible by default and disappears on hover.
However, I'm running into an issue where the image "leaks" ...
Best practices
0
votes
0
replies
53
views
Next.js 16 + MUI 7.3.9 + Tailwind 4.2 Setup
How properly configure Next.js 16 + MUI 7.3.9 + Tailwind 4.2?
// layout.tsx:
import type { Metadata } from "next";
import { Bebas_Neue, Rubik_Mono_One, Ultra } from "next/font/google&...
1
vote
0
answers
57
views
How can I apply blur to a parent without the children getting blurred? [duplicate]
The background blurs as it should, but the child elements also get blurred and I have no idea what could be causing it or how to fix it.
Does anyone have experience with this or can you see what the ...
0
votes
0
answers
65
views
Issue with BlocksRenderer rendering rich text when using TailwindCSS
I'm having a problem using BlocksRenderer from @strapi/blocks-react-renderer. I've double-checked everything, and the data coming from the backend is correct. However, when I pass the rich text ...
-1
votes
1
answer
59
views
Tailwind CSS IntelliSense not working in Blazor Server (.NET 10) project in Rider
I’m working on a Blazor Server project targeting .NET 10 and trying to use Tailwind CSS.
I included the Tailwind CDN script in the <head> section of App.razor, and at runtime everything works ...
-1
votes
1
answer
125
views
Tailwind CSS v4 arbitrary value classes (brackets []) not rendering in Next.js 16 with Turbopack
I am using the latest Next.js 16.1.6 with Tailwind CSS v4.2.1 and React 19. When running the development server with Turbopack (next dev --turbo), arbitrary value classes like aspect-[12/5], z-[100], ...
1
vote
3
answers
143
views
pnpm reports incorrect peer dependency version warning when `vite` is aliased to `@voidzero-dev/vite-plus-core` by Vite+
I created a test Vite+ project. Then I tried to install the @tailwindcss/vite plugin using the vp install command, which supports many Vite versions, but I still ran into a warning. (Although it can ...
Advice
1
vote
8
replies
133
views
Is SCSS still relevant alongside Tailwind CSS?
I recently started an internship where the team asked me to use SCSS. What caught my attention was that my mentor described the stack as:
SCSS (main styling)
Tailwind CSS (utility classes)
In ...