summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/conic-gradient-center.html
blob: ecbc3ffa5c7cbae41b90940b6cdb591e82aef4cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!doctype html>
<meta charset="utf-8">
<title>Conic gradient with custom center parameter</title>
<link rel="help" href="https://drafts.csswg.org/css-images-4/#conic-gradients">
<meta name="assert" content="Rendering of conic-gradient with custom center parameter">
<link rel="match" href="conic-gradient-center-ref.html">
<style>
  #gradient {
    width: 200px;
    height: 200px;
    background-image: conic-gradient(at 25% 25%, red 0 25%, green 25% 50%, blue 50% 75%, black 75% 100%);
  }
</style>
<div id="gradient"></div>