-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject1.html
More file actions
80 lines (79 loc) · 2.21 KB
/
project1.html
File metadata and controls
80 lines (79 loc) · 2.21 KB
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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body{
background-color: white;
}
#smoke{
position: absolute;
z-index: 3;
width: 1px;
height: 160px;
left: 50%;
bottom: 50%;
}
#smoke span{
display: block;
position: absolute;
bottom: -35px; left: 50%; margin-left: -20px;
height: 0px;
width: 0px;
border: 35px solid #4b4b4b;
border-radius: 35px;
left: -14px;
opacity: 0;
transform: scale(0.2);
}
@keyframes smokeL {
0%{ transform: scale(0.2); translate: (0,0)}
10%{ opacity: 1; transform: scale(0.2); translate: (0,-5px)}
100%{ opacity: 0; transform: scale(1); translate: (-20px,-130px)}
}
@keyframes smokeR{
0%{transform: scale(0.2); translate: (0,0)}
10%{ opacity: 1; transform: scale(0.2); translate: (0,-5px)}
100%{opacity: 0; transform: scale(1); translate: (20px,-130px)}
}
#smoke .s0{ animation: smokeL 10s 0s infinite }
#smoke .s1{ animation: smokeR 10s 1s infinite;}
#smoke .s2{ animation: smokeL 10s 2s infinite;}
#smoke .s3{ animation: smokeR 10s 3s infinite;}
#smoke .s4{ animation: smokeL 10s 4s infinite;}
#smoke .s5{ animation: smokeR 10s 5s infinite;}
#smoke .s6{ animation: smokeL 10s 6s infinite;}
#smoke .s7{ animation: smokeR 10s 7s infinite;}
#smoke .s8{ animation: smokeL 10s 8s infinite;}
#smoke .s9{ animation: smokeR 10s 9s infinite;}
#smoke .s10{ animation: smokeL 10s 10s infinite;}
#smoke .s11{ animation: smokeR 10s 11s infinite;}
#smoke .s12{ animation: smokeL 10s 12s infinite;}
#smoke .s13{ animation: smokeR 10s 13s infinite;}
#smoke .s14{ animation: smokeL 10s 14s infinite;}
#smoke .s15{ animation: smokeR 10s 15s infinite;}
</style>
</head>
<body>
<div id="smoke">
<span class="s0"></span>
<span class="s1"></span>
<span class="s2"></span>
<span class="s3"></span>
<span class="s4"></span>
<span class="s5"></span>
<span class="s6"></span>
<span class="s7"></span>
<span class="s8"></span>
<span class="s9"></span>
<span class="s10"></span>
<span class="s11"></span>
<span class="s12"></span>
<span class="s13"></span>
<span class="s14"></span>
<span class="s15"></span>
</div>
</body>
</html>