Ajax Loader
HTML
<div class="container">
1
<div class="container">
2
<a class="button grey">
3
  <div class="arrow">
4
    <span class="top"></span>
5
    <span class="bottom"></span>
6
    <span class="bottomShadow"></span>
7
  </div>
8
  <span class="bar"></span>
9
  Download
10
</a>
11
 
12
 
13
<a class="button blue">
14
  <div class="arrow">
15
    <span class="top"></span>
16
    <span class="bottom"></span>
17
    <span class="bottomShadow"></span>
18
  </div>
19
  <span class="bar"></span>
20
  Download
21
</a>
22
 
23
<a class="button green">
24
  <div class="arrow">
25
    <span class="top"></span>
26
    <span class="bottom"></span>
27
    <span class="bottomShadow"></span>
28
  </div>
29
  <span class="bar"></span>
30
  Download
31
</a>
32
 
33
<a class="button red">
34
  <div class="arrow">
35
    <span class="top"></span>
36
    <span class="bottom"></span>
37
    <span class="bottomShadow"></span>
38
  </div>
39
  <span class="bar"></span>
40
  Download
41
</a>
42
 
43
<a class="button orange">
44
  <div class="arrow">
45
    <span class="top"></span>
46
    <span class="bottom"></span>
47
    <span class="bottomShadow"></span>
48
  </div>
49
  <span class="bar"></span>
50
  Download
51
</a>
52
 
53
<a class="button yellow">
54
  <div class="arrow">
55
    <span class="top"></span>
56
    <span class="bottom"></span>
57
    <span class="bottomShadow"></span>
58
  </div>
59
  <span class="bar"></span>
60
  Download
61
</a>
62
 
63
</div>
 
CSS
body {
1
body {
2
    padding: 20px;
3
    background: black;
4
}
5
 
6
div.container {
7
    position: relative;
8
    background: #1f1f1f;
9
    margin: 0 auto;
10
    width: 500px;
11
    height: 100px;
12
    padding: 120px 0px;
13
    /* border-radius */
14
    -webkit-border-radius: 5px;
15
    -moz-border-radius: 5px;
16
    border-radius: 5px;
17
    /* box-shadow */
18
    -webkit-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
19
    -moz-box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
20
    box-shadow: rgba(0,0,0,0.2) 0px 1px 3px;
21
    text-align: center;
22
}
23
 
24
a.button {
25
    position: relative;
26
    height: 15px;
27
    padding: 12px 20px 15px 68px;
28
    cursor: pointer;
29
    text-align: Right;
30
    font-weight: bold;
31
    font-size: 18px;
32
    -webkit-border-radius: 3px;
33
    -moz-border-radius: 3px;
34
    border-radius: 3px;
35
    -webkit-box-shadow: 2px 2px 2px 0 rgba(0,0,0,.3);
36
    -moz-box-shadow: 2px 2px 2px 0 rgba(0,0,0,.3);
37
    box-shadow: 2px 2px 2px 0 rgba(0,0,0,.3);
38
    display: inline-block !important;
39
    font: 700 15px 'Arial', Helvetica, Clean, sans-serif;
40
    margin: 0px 0px 20px 10px;
41
    position: relative;
42
    text-decoration: none;
43
    transition: background-position .2s ease, margin .1s ease;
44
    -webkit-transition: background-position .2s ease, margin .1s ease;
45
    -moz-transition: background-position .2s ease, margin .1s ease;
46
    background-repeat: repeat-x;
47
}
48
 
49
a.button:hover { background-position: 0 10px }
50
 
51
a.button:active {
52
    -webkit-box-shadow: -1px -1px 2px 0 rgba(0,0,0,.3);
53
    -moz-box-shadow: -1px -1px 2px 0 rgba(0,0,0,.3);
54
    box-shadow: -1px -1px 2px 0 rgba(0,0,0,.3);
55
    margin: 2px 0 20px 10px;
56
}
57
 
58
a.button span.bar {
59
    width: 1px;
60
    height: 30px;
61
    position: absolute;
62
    background: black;
63
    top: 5px;
64
    left: 50px;
65
}
66
 
67
a.button div.arrow {
68
    position: absolute;
69
    left: 20px;
70
    top: 14px;
71
}
72
 
73
a.button div.arrow span.top {
74
    position: absolute;
75
    width: 6px;
76
    height: 9px;
77
    background: #000;
78
    top: 0;
79
    left: 3px;
80
}
81
 
82
a.button div.arrow span.bottom,
83
div.arrow span.bottomShadow {
84
    position: absolute;
85
    width: 0px;
86
    height: 0px;
87
    border-left: 8px solid transparent;
88
    border-right: 8px solid transparent;
89
    border-top: 8px solid black;
90
    top: 9px;
91
    left: -2px;
92
    z-index: 2;
93
}
94
 
95
a.button div.arrow span.bottomShadow {
96
    z-index: 1;
97
    left: -1px;
98
}
99
 
100
/* GRAY
101
   ================================================== */
102
 
103
a.grey {
104
    background-color: #888;
105
    background-image: -webkit-linear-gradient(top, #888, #333);
106
    background-image: -moz-linear-gradient(top, #888, #333);
107
    background-image: -ms-linear-gradient(top, #888, #333);
108
    background-image: -o-linear-gradient(top, #888, #333);
109
    background-image: linear-gradient(top, #888, #333);
110
    text-shadow: 1px 1px 1px rgba(255,255,255,.2);
111
    border-top: 1px solid #aaa;
112
}
113
 
114
a.grey span.bar {
115
    -webkit-box-shadow: 1px 1px 1px rgba(255,255,255,.2);
116
    -moz-box-shadow: 1px 1px 1px rgba(255,255,255,.2);
117
    box-shadow: 1px 1px 1px rgba(255,255,255,.2);
118
}
119
 
120
a.grey div.arrow span.top {
121
    -webkit-box-shadow: 1px 1px 1px rgba(255,255,255,.2);
122
    -moz-box-shadow: 1px 1px 1px rgba(255,255,255,.2);
123
    box-shadow: 1px 1px 1px rgba(255,255,255,.2);
124
}
125
 
126
a.grey div.arrow span.bottomShadow { border-top: 8px solid rgba(255, 255, 255, 0.2) }
127
 
128
/* BLUE
129
   ================================================== */
130
 
131
a.blue {
132
    background-color: #00aeef;
133
    background-image: -webkit-linear-gradient(top, #00aeef, #00587a);
134
    background-image: -moz-linear-gradient(top, #00aeef, #00587a);
135
    background-image: -ms-linear-gradient(top, #00aeef, #00587a);
136
    background-image: -o-linear-gradient(top, #00aeef, #00587a);
137
    background-image: linear-gradient(top, #00aeef, #00587a);
138
    text-shadow: 1px 1px 1px #23aaff;
139
    border-top: 1px solid #23ccff;
140
}
141
 
142
a.blue span.bar {
143
    -webkit-box-shadow: 1px 1px 1px #23aaff;
144
    -moz-box-shadow: 1px 1px 1px #23aaff;
145
    box-shadow: 1px 1px 1px #23aaff;
146
}
147
 
148
a.blue div.arrow span.top {
149
    -webkit-box-shadow: 1px 1px 1px #23aaff;
150
    -moz-box-shadow: 1px 1px 1px #23aaff;
151
    box-shadow: 1px 1px 1px #23aaff;
152
}
153
 
154
a.blue div.arrow span.bottomShadow { border-top: 8px solid #23aaff }
155
 
156
/* GREEN
157
   ================================================== */
158
 
159
a.green {
160
    background-color: #68c800;
161
    background-image: -webkit-linear-gradient(top, #68c800, #367100);
162
    background-image: -moz-linear-gradient(top, #68c800, #367100);
163
    background-image: -ms-linear-gradient(top, #68c800, #367100);
164
    background-image: -o-linear-gradient(top, #68c800, #367100);
165
    background-image: linear-gradient(top, #68c800, #367100);
166
    text-shadow: 1px 1px 1px #67c800;
167
    border-top: 1px solid #67e800;
168
}
169
 
170
a.green span.bar {
171
    -webkit-box-shadow: 1px 1px 1px #67c800;
172
    -moz-box-shadow: 1px 1px 1px #67c800;
173
    box-shadow: 1px 1px 1px #67c800;
174
}
175
 
176
a.green div.arrow span.top {
177
    -webkit-box-shadow: 1px 1px 1px #67c800;
178
    -moz-box-shadow: 1px 1px 1px #67c800;
179
    box-shadow: 1px 1px 1px #67c800;
180
}
181
 
182
a.green div.arrow span.bottomShadow { border-top: 8px solid #67c800 }
183
 
184
/* RED
185
   ================================================== */
186
 
187
a.red {
188
    background-color: #ee5f5b;
189
    background-image: -webkit-linear-gradient(top, #ee5f5b, #973431);
190
    background-image: -moz-linear-gradient(top, #ee5f5b, #973431);
191
    background-image: -ms-linear-gradient(top, #ee5f5b, #973431);
192
    background-image: -o-linear-gradient(top, #ee5f5b, #973431);
193
    background-image: linear-gradient(top, #ee5f5b, #973431);
194
    text-shadow: 1px 1px 1px #ed5d69;
195
    border-top: 1px solid #ed8d69;
196
}
197
 
198
a.red span.bar {
199
    -webkit-box-shadow: 1px 1px 1px #ed5d69;
200
    -moz-box-shadow: 1px 1px 1px #ed5d69;
201
    box-shadow: 1px 1px 1px #ed5d69;
202
}
203
 
204
a.red div.arrow span.top {
205
    -webkit-box-shadow: 1px 1px 1px #ed5d69;
206
    -moz-box-shadow: 1px 1px 1px #ed5d69;
207
    box-shadow: 1px 1px 1px #ed5d69;
208
}
209
 
210
a.red div.arrow span.bottomShadow { border-top: 8px solid #ed5d69 }
211
 
212
/* ORANGE
213
   ================================================== */
214
 
215
a.orange {
216
    background-color: #ff8636;
217
    background-image: -webkit-linear-gradient(top, #ff8636, #9a3e00);
218
    background-image: -moz-linear-gradient(top, #ff8636, #9a3e00);
219
    background-image: -ms-linear-gradient(top, #ff8636, #9a3e00);
220
    background-image: -o-linear-gradient(top, #ff8636, #9a3e00);
221
    background-image: linear-gradient(top, #ff8636, #9a3e00);
222
    text-shadow: 1px 1px 1px #ff7f42;
223
    border-top: 1px solid #ffa542;
224
}
225
 
226
a.orange span.bar {
227
    -webkit-box-shadow: 1px 1px 1px #ff7f42;
228
    -moz-box-shadow: 1px 1px 1px #ff7f42;
229
    box-shadow: 1px 1px 1px #ff7f42;
230
}
231
 
232
a.orange div.arrow span.top {
233
    -webkit-box-shadow: 1px 1px 1px #ff7f42;
234
    -moz-box-shadow: 1px 1px 1px #ff7f42;
235
    box-shadow: 1px 1px 1px #ff7f42;
236
}
237
 
238
a.orange div.arrow span.bottomShadow { border-top: 8px solid #ff7f42 }
239
 
240
/* YELLOW
241
   ================================================== */
242
 
243
a.yellow {
244
    background-color: #fcd116;
245
    background-image: -webkit-linear-gradient(top, #fcd116, #705b00);
246
    background-image: -moz-linear-gradient(top, #fcd116, #705b00);
247
    background-image: -ms-linear-gradient(top, #fcd116, #705b00);
248
    background-image: -o-linear-gradient(top, #fcd116, #705b00);
249
    background-image: linear-gradient(top, #fcd116, #705b00);
250
    text-shadow: 1px 1px 1px #ffc33d;
251
    border-top: 1px solid #ffff3d;
252
}
253
 
254
a.yellow span.bar {
255
    -webkit-box-shadow: 1px 1px 1px #ffc33d;
256
    -moz-box-shadow: 1px 1px 1px #ffc33d;
257
    box-shadow: 1px 1px 1px #ffc33d;
258
}
259
 
260
a.yellow div.arrow span.top {
261
    -webkit-box-shadow: 1px 1px 1px #ffc33d;
262
    -moz-box-shadow: 1px 1px 1px #ffc33d;
263
    box-shadow: 1px 1px 1px #ffc33d;
264
}
265
 
266
a.yellow div.arrow span.bottomShadow { border-top: 8px solid #ffc33d }
267
 
268
/* FOR DEMO PURPOSE ONLY
269
   ================================================== */
270
 
271
a.grey {
272
    position: absolute;
273
    top: 80px;
274
    left: 80px;
275
}
276
 
277
a.blue {
278
    position: absolute;
279
    top: 80px;
280
    left: 260px;
281
}
282
 
283
a.green {
284
    position: absolute;
285
    top: 140px;
286
    left: 80px;
287
}
288
 
289
a.red {
290
    position: absolute;
291
    top: 140px;
292
    left: 260px;
293
}
294
 
295
a.orange {
296
    position: absolute;
297
    top: 200px;
298
    left: 80px;
299
}
300
 
301
a.yellow {
302
    position: absolute;
303
    top: 200px;
304
    left: 260px;
305
}
 

Download button set (No images)

CSSDeck G+