Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-images/multiple-position-color-stop-conic.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>Conic gradient with a two position color stop</title>
<meta name="assert" content="A color stop with two positions create a hard transition">
<meta name="fuzzy" content="maxDifference=1;totalPixels=10000">
<link rel="match" href="reference/100x100-blue-green.html">
<style>
#target {
width: 100px;
height: 100px;
background-color: red;
background-image: conic-gradient(green 0% 180deg, blue 180deg);
}
</style>
<div id="target"></div>