summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/tiled-conic-gradients.html
blob: 22f9f4b6ba753d926b827ec1cb5352e5a7ed833d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!doctype html>
<meta charset="utf-8">
<title>Checkerboard using conic gradients</title>
<link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#propdef-background-size">
<meta name="assert" content="Gradients are correctly repeated.">
<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>