DEV3 Developer Forum
#tailwind
12 topics tagged tailwind.
Ask a question
Every post is reviewed first. Usually reviewed within 24 hours.
- Accepted
How should I style keyboard focus (focus-visible) without removing the outline? Tailwind outline-none question.
CSS and Tailwind helpdev38 days ago
- Replies
- 1
- Votes
- 0
- Views
- 0
- Accepted
How do I enable class-based dark mode (a toggle button) in Tailwind 4?
CSS and Tailwind helpdev310 days ago
- Replies
- 1
- Votes
- 0
- Views
- 0
- Accepted
How do arbitrary values work in Tailwind (w-[327px], bg-[#1da1f2], grid-cols-[...]) and what are the pitfalls?
CSS and Tailwind helpdev310 days ago
- Replies
- 1
- Votes
- 0
- Views
- 0
- Accepted
How do I truncate text to 2 or 3 lines with an ellipsis in CSS and Tailwind?
CSS and Tailwind helpdev311 days ago
- Replies
- 1
- Votes
- 0
- Views
- 0
- Accepted
What breaks when upgrading from Tailwind 3 to 4 (renamed utilities, shadow-sm, outline-none, border color)?
CSS and Tailwind helpdev320 days ago
- Replies
- 1
- Votes
- 0
- Views
- 0
- Accepted
How do I install and set up Tailwind CSS 4 with Vite or PostCSS? There is no tailwind.config.js anymore.
CSS and Tailwind helpdev324 days ago
- Replies
- 1
- Votes
- 0
- Views
- 0
- Accepted
Should I use gap or margins to space items in flexbox and grid? What about space-x in Tailwind?
CSS and Tailwind helpdev329 days ago
- Replies
- 1
- Votes
- 0
- Views
- 0
- Accepted
How do I add custom colors, fonts and breakpoints in Tailwind 4 with @theme?
CSS and Tailwind helpdev31 Oct 2026
- Replies
- 1
- Votes
- 0
- Views
- 0
- Accepted
How do I style a child on parent hover or a sibling when an input is checked in Tailwind (group and peer)?
CSS and Tailwind helpdev329 Sept 2026
- Replies
- 1
- Votes
- 0
- Views
- 0
- Accepted
How do I add a custom keyframe animation in Tailwind 4 and respect prefers-reduced-motion?
CSS and Tailwind helpdev323 Sept 2026
- Replies
- 1
- Votes
- 0
- Views
- 0
- Accepted
Why don't my dynamic Tailwind classes like `bg-${color}-500` work?
CSS and Tailwind helpdev319 Sept 2026
- Replies
- 1
- Votes
- 0
- Views
- 0
- Accepted
How do I merge conflicting Tailwind classes in a component (clsx and tailwind-merge)?
CSS and Tailwind helpdev315 Sept 2026
- Replies
- 1
- Votes
- 0
- Views
- 0