-
Notifications
You must be signed in to change notification settings - Fork 2
/
line.html
29 lines (29 loc) · 941 Bytes
/
line.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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>大屏相关分享</title>
<link rel="stylesheet" type="text/css" href="./line.css" />
</head>
<body>
<div id="line" class="item">
<svg>
<defs>
<linearGradient id="left2right" x1="0" x2="1" y1="0" y2="0">
<stop offset="0%" stop-color="yellow" stop-opacity="0"/>
<stop offset="60%" stop-color="yellow" stop-opacity=".1"/>
<stop offset="100%" stop-color="red" stop-opacity="1"/>
</linearGradient>
<linearGradient id="right2left" x1="1" x2="0" y1="0" y2="0">
<stop offset="0%" stop-color="yellow" stop-opacity="0"/>
<stop offset="60%" stop-color="yellow" stop-opacity=".1"/>
<stop offset="100%" stop-color="red" stop-opacity="1"/>
</linearGradient>
</defs>
</svg>
</div>
<div id="earth" class="item"></div>
<script src="./common.js"></script>
<script src="./line.js"></script>
</body>
</html>