-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
39 lines (35 loc) · 1.36 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>CSS linear-gradient visualizer</title>
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<input type="text" class="gradient-input" />
<div class="test-element"></div>
<svg class="gradient-overlay" width="100%" height="100%">
<defs>
<marker id="extending-line-end" markerWidth="50" markerHeight="1"
orient="auto" markerUnits="userSpaceOnUse" refX="0" refY="0">
<line class="support-line" x1="0" y1="0" x2="50" y2="0" />
</marker>
<marker id="extending-line-start" markerWidth="50" markerHeight="1"
orient="auto" markerUnits="userSpaceOnUse" refX="50" refY="0">
<line class="support-line" x1="0" y1="0" x2="50" y2="0" />
</marker>
</defs>
<rect class="gradient-box" />
<line class="gradient-line extend-line" />
<line class="angle-0-line support-line" />
<line class="start-edge support-line extend-line" />
<line class="end-edge support-line extend-line" />
<circle class="start-point gradient-line-point" r="2" />
<circle class="center-point gradient-line-point" r="2" />
<circle class="end-point gradient-line-point" r="2" />
<path class="angle-arc" />
</svg>
<script type="application/javascript;version=1.8" src="normalizer.js"></script>
<script type="application/javascript;version=1.8" src="app.js"></script>
</body>
</html>