-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathday94.html
More file actions
35 lines (30 loc) · 805 Bytes
/
day94.html
File metadata and controls
35 lines (30 loc) · 805 Bytes
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DAY 94 | CSS CHALLENGE</title>
<style>
.hypnotic {
--b: 15px;
position: fixed;
inset: calc(50% - 100vmax);
background:
repeating-radial-gradient(at bottom, #73626E 0 var(--b), #0000 0 calc(2*var(--b))) top /100% 50% no-repeat,
repeating-radial-gradient(at calc(50% + var(--b)) 0, #0000 0px var(--b), #73626E 0 calc(2*var(--b))) bottom/100% 50% no-repeat,
#F0B49E;
animation: hypnotic-r .8s linear infinite;
}
@keyframes hypnotic-r {
to {
transform: rotate(360deg)
}
}
</style>
</head>
<body>
<main>
<div class="hypnotic"></div>
</main>
</body>
</html>