-
Notifications
You must be signed in to change notification settings - Fork 2
/
experiment.html
105 lines (101 loc) · 2.43 KB
/
experiment.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
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
<html>
<head>
<style>
body {
padding: 0;
background-color: #fff;
}
#clouds {
background-color: #11a4ff;
position: relative;
margin: 0 auto;
margin-top: 25%;
height: 25%;
width: 25%;
border-radius: 10px;
}
#clouds_1, #clouds_2, #clouds_3 {
position: absolute;
width: 100%;
height: 100%;
background-position: bottom;
background-repeat: repeat-x;
border-top-left-radius: 10px;
border-top-right-radius: 10px;
}
@-webkit-keyframes slider500 {
from {
background-position: 0 100%;
}
to {
background-position: -500px 100%;
}
}
@-webkit-keyframes slider300 {
from {
background-position: 0 100%;
}
to {
background-position: -300px 100%;
}
}
@-webkit-keyframes slider100 {
from {
background-position: 0 100%;
}
to {
background-position: -100px 100%;
}
}
#clouds_1 {
background-image: url(clouds-100.png);
-webkit-animation-name: slider100;
-webkit-animation-duration: 40s;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
}
#clouds_2 {
background-image: url(clouds-300.png);
-webkit-animation-name: slider300;
-webkit-animation-duration: 40s;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
}
#clouds_3 {
background-image: url(clouds-500.png);
-webkit-animation-name: slider500;
-webkit-animation-duration: 20s;
-webkit-animation-timing-function: linear;
-webkit-animation-iteration-count: infinite;
}
#content {
padding: 0 20%;
}
h1 {
text-align: center;
}
h1 a {
font-family: Helvetica;
text-align: center;
color: rgba(0,0,0,.2);
text-decoration: none;
}
</style>
</head>
<body>
<div id="clouds">
<div id="clouds_1">
</div>
<div id="clouds_2">
</div>
<div id="clouds_3">
</div>
</div>
<div id="content">
<h1><a href="http://onemorecloud.com/">one more cloud</a></h1>
</div>
</body>
</html>