x ai css conic-gradient 2026-06-06

xtodo

ai generated

Advanced Tips

background: #ccc; /* fallback */
background: conic-gradient(...);

Browser Support

Conic gradients enjoy excellent modern support (Chrome 69+, Firefox 83+, Safari 12.1+, Edge 79+). They are widely available across current browsers as of 2026.

Full Demo Code

<!DOCTYPE html>
<html>
<head>
<style>
  .demo {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin: 20px;
    display: inline-block;
  }
</style>
</head>
<body>

<div class="demo" style="background: conic-gradient(red, yellow, green);"></div>
<div class="demo" style="background: conic-gradient(from 0.25turn, #f69d3c, #3f87a6, #ebf8e1);"></div>

</body>
</html>