summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-images/conic-gradient-angle.html
blob: 0b3404508d072705a59bdc97ac23b8d53fc1ffde (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 angle 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="reference/200x200-blue-black-green-red.html">
<style>
  #gradient {
    width: 200px;
    height: 200px;
    background-image: conic-gradient(from 90deg, red 0 25%, green 25% 50%, blue 50% 75%, black 75% 100%);
  }
</style>
<div id="gradient"></div>