Open this example in the interactive library
Source code
<div
class="demo bg-linear-to-r from-[#fef3c7] via-[#fff7ed] via-55% to-[#fecdd3]"
>
Use a middle gradient stop
</div>
Use a middle gradient stop with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<div
class="demo bg-linear-to-r from-[#fef3c7] via-[#fff7ed] via-55% to-[#fecdd3]"
>
Use a middle gradient stop
</div>