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