Open this example in the interactive library
Source code
<style>
.demo {
background-image: conic-gradient(#bae6fd, #ddd6fe, #bae6fd);
}
</style>
<div class="demo">Draw a conic gradient</div>
Draw a conic gradient with native CSS. The preview includes a small shared demo stylesheet.
Open this example in the interactive library
<style>
.demo {
background-image: conic-gradient(#bae6fd, #ddd6fe, #bae6fd);
}
</style>
<div class="demo">Draw a conic gradient</div>