-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
42 lines (39 loc) · 1.67 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
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>EYE</title>
<link rel="stylesheet" href="assets/css/styles.css">
</head>
<body>
<div class="container">
<svg class="eye" width="140" height="100" viewBox="0 0 140 100">
<defs>
<radialGradient id="iris" cx="50%" cy="50%" r="50%" fx="50%" fy="50%">
<stop offset="0%" style="stop-color:#a1e3ff;stop-opacity:1" />
<stop offset="40%" style="stop-color:#56b8e4;stop-opacity:1" />
<stop offset="70%" style="stop-color:#2e8abe;stop-opacity:1" />
<stop offset="100%" style="stop-color:#1c5c8e;stop-opacity:1" />
</radialGradient>
<radialGradient id="glassEffect" cx="40%" cy="30%" r="60%" fx="40%" fy="30%">
<stop offset="0%" style="stop-color:#ffffff;stop-opacity:0.5" />
<stop offset="100%" style="stop-color:#ffffff;stop-opacity:0" />
</radialGradient>
<clipPath id="eye-clip">
<path d="M10,50 Q70,0 130,50 Q70,100 10,50 Z" />
</clipPath>
</defs>
<g clip-path="url(#eye-clip)">
<path class="eye-shape" d="M10,50 Q70,0 130,50 Q70,100 10,50 Z" fill="#ffffff" stroke="#000000"
stroke-width="1" />
<circle class="iris" cx="70" cy="50" r="28" fill="url(#iris)" />
<circle class="glass-effect" cx="70" cy="50" r="28" fill="url(#glassEffect)" />
<circle class="pupil" cx="70" cy="50" r="12" fill="#000000" />
<rect class="eyelid" x="0" y="-100" width="140" height="100" fill="#212121" />
</g>
</svg>
</div>
<script src="assets/js/scripts.js"></script>
</body>
</html>