Problem: Version announcement.
Solution#
<div class="rounded-2xl bg-gradient-to-r from-blue-600 to-fuchsia-600 p-8 text-white">
<p class="text-sm font-semibold opacity-80">RELEASE</p>
<h2 class="mt-1 text-3xl font-black">Nakshora 3.1</h2>
<a class="mt-4 inline-block rounded-lg bg-white/20 px-4 py-2 backdrop-blur">Changelog →</a>
</div>Why this works#
Gradient panel + translucent CTA.
Variants#
- Responsive: add screen prefixes to the core classes
- Dark: pair each color utility with its dark: twin
- Animated: add
transition+ a state variant for motion
Related recipes#
cookbook/index|Cookbook index · utilities/index|Utilities reference · patterns/index|Layout patterns
