blob: cf47c758348bfb8fee4215f1cf2f24687ef80ba9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Gradient in HSL space</title>
<style>
body {
background: #fff;
}
div {
width: 300px;
height: 300px;
background-image: linear-gradient(in hsl shorter hue 0deg, hsl(0, 100%, 50%) 0%, hsl(120, 100%, 50%) 33.3333%, hsl(240, 100%, 50%) 66.6667%, hsl(0, 100%, 50%) 100%);
}
</style>
</head>
<body>
<div></div>
</body>
</html>
|