2
1 Comment

Tailwind CSS v4 Gradients MadeΒ Simple

Tailwind CSS v4 introduces powerful new gradient utilities that make creating stunning visual effects effortless.
Key Features:
Linear gradients: bg-linear-to-r from-blue-500 to-pink-500
Radial gradients: bg-radial from-pink-400 to-fuchsia-700
Conic gradients: bg-conic from-blue-600 to-sky-400
Advanced control: Custom values and /oklab interpolation

No more custom CSS. Just clean, utility-first gradient creation.
Read the full article with examples and code:

posted to Icon for group TailwindCSS
TailwindCSS
on August 7, 2025
  1. 1

    Excellent guide, Michael. As someone with an engineering background, I really appreciate when a system is designed with this level of elegance.
    For me, the standout feature here is the /oklab interpolation. It's a small detail, but it shows a deep commitment to quality by addressing the "muddy" center that you sometimes get with standard RGB gradients. It's that kind of precision that makes a front-end framework truly robust.
    This is a huge step up from manually writing gradient code. Thanks for laying it out so clearly.

Trending on Indie Hackers
How I built an AI workflow with preview, approval, and monitoring User Avatar 64 comments Show IH: I'm building a lead gen + CRM tool for web designers targeting local businesses without websites β€” starting with Spain User Avatar 62 comments I built a URL indexing SaaS in 40 days β€” here's the honest story User Avatar 53 comments After 4 landing page rewrites, I finally figured out why my analytics SaaS wasn't converting User Avatar 21 comments We witnessed a sharp spike in our traffic. So much happiness after a long time. User Avatar 15 comments Creative Generator β€” create product-focused visuals and ad concepts faster User Avatar 10 comments