DEV3 Developer Forum
#tailwind-4
5 topics tagged tailwind-4.
Ask a question
Every post is reviewed first. Usually reviewed within 24 hours.
- 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
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
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 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