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
Why Indie Founders Fail: The Uncomfortable Truths Beyond "Build in Public" User Avatar 90 comments I built a tool that turns CSV exports into shareable dashboards User Avatar 83 comments $0 to $10K MRR in 12 Months: 3 Things That Actually Moved the Needle for My Design Agency User Avatar 68 comments The β€œOpen β†’ Do β†’ Close” rule changed how I build tools User Avatar 54 comments I got tired of "opaque" flight pricing β†’built anonymous group demand β†’1,000+ users User Avatar 43 comments A tweet about my AI dev tool hit 250K views. I didn't even have a product yet. User Avatar 42 comments