-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
48 lines (43 loc) · 820 Bytes
/
style.css
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
min-height: 100vh;
background: whitesmoke;
overflow: hidden;
}
span {
position: absolute;
pointer-events: none;
filter: drop-shadow(0 0 15px rgba(0, 0, 0.5));
animation: fadeInOut 1s linear infinite;
}
@keyframes fadeInOut {
0%,
100% {
opacity: 0;
}
20%,
80% {
opacity: 1;
}
}
span::before {
content: '';
position: absolute;
width: 100%;
height: 100%;
background: url(code.png);
background-size: cover;
animation: moveShape 1s linear infinite;
}
@keyframes moveShape {
0% {
transform: translate(0) rotate(0deg);
}
100% {
transform: translate(300px) rotate(360deg);
}
}