We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3db9186 commit 3312de7Copy full SHA for 3312de7
css-images-4/Overview.bs
@@ -1717,7 +1717,17 @@ Conic Gradient Examples</h4>
1717
width: 200px; height: 200px;
1718
</pre>
1719
1720
- <img src="images/conic5.png" alt="" >
+ You can also achieve the same effect using "longer" hue interpolation. This is more concise and makes it easy to switch to other color spaces.
1721
+
1722
+ <pre class=lang-css>
1723
+ background: radial-gradient(closest-side, gray, transparent),
1724
+ conic-gradient(in hsl longer hue, red 0 100%);
1725
+ transform: scaleX(-1);
1726
+ border-radius: 50%;
1727
+ width: 200px; height: 200px;
1728
+ </pre>
1729
1730
+ <img src="images/conic5.png" alt="color wheel">
1731
</div>
1732
1733
<div class='example' id='ex-conic-pie'>
0 commit comments