-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblog.html
149 lines (132 loc) · 3.37 KB
/
blog.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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
<!DOCTYPE html>
<html>
<head>
<meta charset='UTF-8'>
<title>Simple Loader</title>
<style>
#loader{
position:fixed;
top:0;
left:0;
z-index:9999;
background-color:rgba(0, 0, 0, 1);
width:100%;
height:100%;
}
h1.loader{
text-align:center;
text-transform:uppercase;
font-family:'Nunito', sans-serif;
font-size:28px;
color:transparent;
letter-spacing:0.01em;
width:300px;
position:absolute;
height:60px;
margin-top:-30px;
left:50%;
margin-left:-150px;
top:50%;
}
.loader span{
text-shadow:0 0 2px rgba(204, 208, 212,0.9), 0 15px 25px rgba(0, 0, 0, 0.3), 0 -2px 3px rgba(0, 0, 0, 0.1), 0 -5px 10px rgba(255, 255, 255, 0.5), 0 5px 10px rgba(0, 0, 0, 0.3), 0 3px 4px rgba(255, 255, 255, 0.2), 0 0 20px rgba(255, 255, 255, 0.45);
/*animation*/
-webkit-animation:loading 0.85s ease-in-out infinite alternate;
-moz-animation:loading 0.85s ease-in-out infinite alternate;
-ms-animation:loading 0.85s ease-in-out infinite alternate;
-o-animation:loading 0.85s ease-in-out infinite alternate;
animation:loading 0.85s ease-in-out infinite alternate;
}
@keyframes loading{
to {text-shadow:
0 0 2px rgba(204, 208, 212,0.2),
0 0 3px rgba(0, 0, 0, 0.02),
0 0 0 rgba(0, 0, 0, 0),
0 0 0 rgba(255, 255, 255, 0),
0 0 0 rgba(0, 0, 0, 0),
0 0 0 rgba(255, 255, 255, 0),
0 0 0 rgba(255, 255, 255, 0);}
}
.loader span:nth-child(2){
/*animation-delay*/
-webkit-animation-delay:0.10s;
-moz-animation-delay:0.10s;
-ms-animation-delay:0.10s;
-o-animation-delay:0.10s;
animation-delay:0.10s;
}
.loader span:nth-child(3){
/*animation-delay*/
-webkit-animation-delay:0.20s;
-moz-animation-delay:0.20s;
-ms-animation-delay:0.20s;
-o-animation-delay:0.20s;
animation-delay:0.20s;
}
.loader span:nth-child(4){
/*animation-delay*/
-webkit-animation-delay:0.40s;
-moz-animation-delay:0.40s;
-ms-animation-delay:0.40s;
-o-animation-delay:0.40s;
animation-delay:0.40s;
}
.loader span:nth-child(5){
/*animation-delay*/
-webkit-animation-delay:0.50s;
-moz-animation-delay:0.50s;
-ms-animation-delay:0.50s;
-o-animation-delay:0.50s;
animation-delay:0.50s;
}
.loader span:nth-child(6){
/*animation-delay*/
-webkit-animation-delay:0.60s;
-moz-animation-delay:0.60s;
-ms-animation-delay:0.60s;
-o-animation-delay:0.60s;
animation-delay:0.60s;
}
.loader span:nth-child(7){
/*animation-delay*/
-webkit-animation-delay:0.70s;
-moz-animation-delay:0.70s;
-ms-animation-delay:0.70s;
-o-animation-delay:0.70s;
animation-delay:0.70s;
}
.loader span:nth-child(8){
/*animation-delay*/
-webkit-animation-delay:0.80s;
-moz-animation-delay:0.80s;
-ms-animation-delay:0.80s;
-o-animation-delay:0.80s;
animation-delay:0.80s;
}
</style>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.2/jquery.min.js"></script>
<script src="http://github.com/Modernizr/Modernizr/raw/master/modernizr.js"></script>
<script>
// Wait for window load
$(window).load(function() {
// Animate loader off screen
$("#loader").fadeOut('slow');
});
</script>
</head>
<body>
<div id="loader">
<h1 class="loader">
<span>з</span>
<span>а</span>
<span>г</span>
<span>р</span>
<span>у</span>
<span>з</span>
<span>к</span>
<span>а</span>
</h1>
</div>
<img src="http://farm6.static.flickr.com/5299/5400751421_55d49b2786_o.jpg">
</body>
</html>