-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
52 lines (48 loc) · 2.16 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
40
41
42
43
44
45
46
47
48
49
50
51
52
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CSS ANIMATION</title>
<link rel="stylesheet" href="main.css">
</head>
<body>
<svg class="dotted" xmlns="http://www.w3.org/2000/svg" height="400" width="400" overflow="visible">
<linearGradient id="light" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stop-color="rgba(255, 255, 255, 1)"></stop>
<stop offset="100%" stop-color="rgba(255, 255, 255, 0.5)"></stop>
</linearGradient>
<circle cx="200" cy="200" r="200" fill="none" stroke="url(#light)" stroke-dasharray="12.5664" stroke-linecap="round" stroke-width="2" />
</svg>
<svg id="line" width="3" height="500" fill="none">
<path id="path1" d="M1.5 500V0" stroke="url(#grad)" stroke-width="2"/>
<defs>
<linearGradient id="grad" x1="0" y1="0" x2="0" y2="500" gradientUnits="userSpaceOnUse">
<stop stop-color="rgba(255, 255, 255, 1)"/>
<stop offset="1" stop-color="rgba(255, 255, 255, 0.25)"/>
</linearGradient>
</defs>
</svg>
<svg id="square" height="296" width="296" fill="none">
<path id="path2" d="M147.08 0L294.16 147.08L147.08 294.16L0 147.08L147.08 0Z" stroke="url(#square-grad)" stroke-width="2" stroke-linecap="round" />
<defs>
<linearGradient id="square-grad" x1="0%" y1="0%" x2="100%" y2="100%">
<stop stop-color="rgba(255, 255, 255, 1)" offset="0" />
<stop stop-color="rgba(255, 255, 255, 0.5)" offset="0.5" />
<stop stop-color="rgba(255, 255, 255, 1)" offset="1" />
</linearGradient>
</defs>
</svg>
<div class="circle"></div>
<div class="circle2"></div>
<div class="circle3"></div>
<div class="circle4">
<div class="container">
<div class="insider"></div>
<canvas class="canvas"></canvas>
</div>
</div>
<script src="morph.js"></script>
</body>
</html>