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/tiled-conic-gradients.html - WPT Dashboard Interop Dashboard
<!doctype html>
<meta charset="utf-8">
<title>Checkerboard using conic gradients</title>
<meta name="assert" content="Gradients are correctly repeated.">
<meta name="fuzzy" content="maxDifference=1;totalPixels=40000">
<link rel="match" href="tiled-conic-gradients-ref.html">
<style>
#gradient {
width: 200px;
height: 200px;
background-color: red;
background-size: 20% 20%;
background-image: conic-gradient(black 0 25%, white 0 50%, black 0 75%, white 0);
}
</style>
<div id="gradient"></div>