Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
43 views

in the dev mode when adding new style line it doesnt show, i have to add a new line of style then the prev one works but the newest one doesnt work or i have o comment a line its like any new line of ...
ok i's user avatar
  • 149
-7 votes
1 answer
63 views

I have a grid container parent that has a grid item placed in a small leftover width on my page (i have a page layout with 75% and 25% width, I'm trying to add a tags list in my 25% side of the page). ...
erick cool's user avatar
Best practices
0 votes
0 replies
38 views

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&...
Karol's user avatar
  • 99
Best practices
0 votes
1 replies
78 views

Could you please explain how your project uses Design Tokens? How do designers generate Design Tokens, convert their format, and finally integrate them into your project? I know what design tokens are....
argooo's user avatar
  • 1
-6 votes
2 answers
123 views

I am following a tutorial from Youtube by building a React portfolio site. I set up using Vite. I have followed the steps exactly and checked the code. But when running npm run dev localhost my ...
Nicholas Lee's user avatar
1 vote
0 answers
53 views

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 ...
J. Roman's user avatar
0 votes
0 answers
57 views

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 ...
samsa's user avatar
  • 88
-1 votes
1 answer
40 views

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 ...
Lentilles's user avatar
-1 votes
1 answer
92 views

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], ...
Gonzalo Salas's user avatar
1 vote
3 answers
88 views

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 ...
rozsazoltan's user avatar
Advice
1 vote
8 replies
98 views

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 ...
Rishu Kumar's user avatar
0 votes
1 answer
97 views

I am using TailwindCSS v4 in a widget that will be embedded into other websites. Because of this, I want to avoid global style conflicts, especially CSS normalization. So instead of importing the full ...
Phong Vũ's user avatar
  • 290
0 votes
1 answer
76 views

I'm using Tailwind in a custom WP theme and ran into an issue with classes used inside the WP page editor. From my setup, I installed tailwind with Node.js and I build the CSS using "pnpm build&...
Randy Listrud's user avatar
2 votes
1 answer
56 views

Given the Nuxt UI Chip component having a color property accepting fixed colors. I'm calculating a heatmap color ranging from the Tailwind colors "bg-transparent" to "bg-emerald-900&...
m477h145h3rm53n's user avatar
1 vote
1 answer
75 views

I tried the utilities available in the documentation, but in a few cases nothing appeared in the compiled CSS. I don't see the expected result in DevTools, as if they don't exist at all: block-* ...
rozsazoltan's user avatar
0 votes
1 answer
74 views

I am currently building a custom React UI library (monorepo structure) using Tailwind CSS v4. During development with Storybook, my styles only render correctly if I explicitly point to the source ...
brainlesslukas's user avatar
0 votes
1 answer
78 views

I would have an index.css file that would set some initial styles like: h1, h2, h3, h4, h5, h6 { @apply text-gray-800 } and in few instances would like to set <h6 class="text-primary-500"...
Petar's user avatar
  • 29
5 votes
2 answers
128 views

I have a container with a max-width and two elements side by side using flexbox: a text block an image Both elements technically have the same height as flex items, but the image keeps empty space ...
NoMap9551's user avatar
1 vote
1 answer
121 views

I have a Svelte project that for a long time I used Tailwind v3 for, that I'm using Vite to build and Vercel to deploy. Then at some point I upgraded a bunch of packages, including upgrading Tailwind ...
Jason Ye's user avatar
0 votes
1 answer
47 views

I noticed that in TailwindCSS v4, PostCSS was removed, and under the hood everything is handled entirely by LightningCSS, so no extra PostCSS plugins are needed. Because of this, they were able to ...
rozsazoltan's user avatar
0 votes
3 answers
179 views

There have been several similar questions, but without a reproduction they did not get meaningful answers. In some questions, the question itself does not include a reproduction, but the answers are ...
rozsazoltan's user avatar
0 votes
1 answer
55 views

I recently upgraded my project from Tailwind CSS v3 to v4 and am using Next.js 16.0.8 with tailwindcss ^4.0.0. In v3, I relied heavily on tailwind.config.js for custom colors, font sizes, spacing, and ...
Hamza Baig's user avatar
1 vote
1 answer
234 views

I developed an app using Vite + React + TailwindCSS, and it was working fine. Recently, I removed node_modules to update everything and then ran: npm install npm run build Now I get multiple errors ...
khushi.k's user avatar
1 vote
1 answer
1k views

I'm following the Vite plugin documentation, but I'm running into an error because of the new Vite 8. I'm creating a new project generated with the new 8.x version, then running it: npm install ...
rozsazoltan's user avatar
0 votes
2 answers
73 views

I want to use Nuxt Fonts to ensure that the appropriate @font-face rules are generated for my fonts. The documentation claims that for v4 I don't need to use the processCSSVariables option and that I ...
rozsazoltan's user avatar
0 votes
1 answer
96 views

I'm using the @nuxt/fonts package to provide the font declarations. When the package detects a font name, it automatically adds the required @font-face rules to the compiled CSS. Based on the tests, ...
rozsazoltan's user avatar
2 votes
1 answer
112 views

Problem: I have a Turborepo with a /package that contains my React components (UI library). In the /apps folder, I have my Storybook setup. Storybook itself works correctly and loads the stories as ...
brainlesslukas's user avatar
0 votes
1 answer
47 views

By using the @stencil-community/postcss package, I enabled embedding PostCSS plugins into my StencilJS project. However, in this case, @imports in CSS files that point to dependencies do not work. For ...
rozsazoltan's user avatar
0 votes
1 answer
46 views

I’m passing a valid PostCSS plugin to StencilJS in the usual way via the PostCSS configuration, and I get an unexpected error message at runtime: Build Error: @tailwindcss/postcss is not a PostCSS ...
rozsazoltan's user avatar
0 votes
2 answers
166 views

StencilJS is a fairly mature framework, yet there is no clear installation guide for it in the TailwindCSS documentation. Likewise, StencilJS itself does not say much about the implementation of CSS ...
rozsazoltan's user avatar
1 vote
1 answer
97 views

I’m working on a React + TypeScript project using Tailwind CSS (with @layer components and @apply) and I’m facing an issue where a variant modifier class is not overriding styles as expected. I have ...
Gabriele Troviso's user avatar
2 votes
3 answers
118 views

When passing a TailwindCSS class name as a string, I do not need to escape the backslash in order to include it as a string. Since TailwindCSS analyzes the source code directly, this also results in ...
rozsazoltan's user avatar
0 votes
2 answers
91 views

I need column structure as given below using tailwind CSS:- I'm facing issue with third box and fourth box as below mentioned: First and second boxs width should equal Third box width should be ...
Rohit Verma's user avatar
  • 3,793
Advice
5 votes
2 replies
78 views

What suggestions for a secondary front-end framework to Bootstrap could I potentially teach?
Paul Ghayad's user avatar
-2 votes
1 answer
172 views

I have a project structure like this (some files omitted): ui ├── lib │ ├── assets │ └── components │ └── Button.svelte ├── routes │ ├── +layout.svelte │ ├── +page.svelte │ └── layout....
Ni3dzwi3dz's user avatar
0 votes
0 answers
113 views

I'm trying to customize the Flowbite inline datepicker using Tailwind CSS in a pure HTML environment, but most of the styles I apply are not taking effect. I'm unable to customize the following: ...
PrINcE's user avatar
  • 29
Tooling
6 votes
11 replies
6k views

How is good is TailwindCSS for programmers in their early web development journey? Does the usage exclusively fall into the somewhat experienced programmers or newbies can and should try it out? Or ...
Deepaansh Deepak Sial's user avatar
1 vote
1 answer
197 views

We'd like to install the latest Tailwind (v4) into our Ionic/Angular project so we can use its utility-first approach. I've tried the guides mentioned here: Angular guide Capawesome guide Workaround ...
Just Shadow's user avatar
  • 12.1k
Tooling
0 votes
1 replies
84 views

Is it possible to write something like this: <div classname="bg-primary-200"></div> and then set the primary color to one of the colors from the Tailwind colors in my global CSS:...
aria's user avatar
  • 126
0 votes
1 answer
79 views

I am building a dashboard with React and Tailwind CSS. The layout consists of a sidebar and a main content area. Both the sidebar header and the main content header have a fixed height of h-28 to ...
Steven Tumler's user avatar
1 vote
1 answer
117 views

I'm using html-validate in my Hugo project with kebab-case enforcement, but Tailwind CSS classes are failing validation: Failing classes: h-[76px] (arbitrary values with brackets/backslashes) top-1/...
Kevin Dodiya's user avatar
2 votes
1 answer
60 views

I have three expandable vertically stacked cards positioned in a flex layout below a fixed sticky header. Requirements: It would be nice to have scroll snap feature, so that scroll snaps to the top of ...
Vasilije Bursac's user avatar
2 votes
1 answer
154 views

I have three vertically stacked cards positioned below a fixed header. Requirements: When collapsed, each card should take exactly one third of the visible area below the header. When a card is ...
Vasilije Bursac's user avatar
-2 votes
1 answer
113 views

"Recently, I started styling my website using Tailwind CSS. Since I wasn't familiar with most of the styles, I began using the 'Tailwind CSS IntelliSense' extension, which suggests styles in a ...
Samir's user avatar
  • 3
0 votes
2 answers
87 views

I am working in react js with tailwind. I have a card with a bg-color. I assigns it a bg color right and I dont want to give it a specific height or width and wonna to handle it through margin and ...
Zaman Haider's user avatar
4 votes
3 answers
151 views

I’m using Next.js with Tailwind CSS. I have an array of objects and I map over it to render sections. Each item has a height value that should control the Tailwind height class. const segments = [ ...
Sak G's user avatar
  • 41
0 votes
0 answers
131 views

I’m running into a Node.js segmentation fault (SIGSEGV) during npm run build and I’m stuck. This only started happening after adding Typst-based PDF generation. Environment Framework: SvelteKit Build ...
Iserila's user avatar
  • 388
2 votes
1 answer
99 views

I have been searching around from different sources (including tailwindcss.com), but I really can't manage to use my desired font in my new Rails 8 application. Here is what I did: downloaded the ...
user1185081's user avatar
  • 2,210
Advice
1 vote
0 replies
42 views

I would like to make a similar animated slider to the one seen here in the top example. I don't want it to be functional, just the animation. I've tried using tailwind's animate class but it just ...
Detryx's user avatar
  • 7
0 votes
1 answer
81 views

I'm trying to add border-radius to a container, which have gradient border and gradient background color. But the border-radius is not being applied. I've tried several methods. Initially this: <...
Rocky Barua's user avatar

1
2 3 4 5
212