Open this example in the interactive library
Source code
<div class="demo bg-[conic-gradient(#bae6fd,#ddd6fe,#bae6fd)]">
Draw a conic gradient
</div>
Draw a conic gradient with Tailwind CSS 4 utilities. The preview uses precompiled styles.
Open this example in the interactive library
<div class="demo bg-[conic-gradient(#bae6fd,#ddd6fe,#bae6fd)]">
Draw a conic gradient
</div>