Ajax Loader
HTML
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<!--[if lt IE 7]> <html class="lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
3
<!--[if IE 7]> <html class="lt-ie9 lt-ie8" lang="en"> <![endif]-->
4
<!--[if IE 8]> <html class="lt-ie9" lang="en"> <![endif]-->
5
<!--[if gt IE 8]><!--> <html lang="en"> <!--<![endif]-->
6
<head>
7
  <meta charset="utf-8">
8
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
9
  <title>Check Buttons</title>
10
  <!--[if lt IE 9]><script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
11
</head>
12
<body>
13
  <div class="container">
14
    <a href="#" class="button">Button</a>
15
    <a href="#" class="button active">Button</a>
16
    <a href="#" class="button button-check">OK</a>
17
    <a href="#" class="button button-check active">OK</a>
18
  </div>
19
</body>
20
</html>
21
 
 
CSS
/*
1
/*
2
 * Copyright (c) 2013 Thibaut Courouble
3
 * http://www.cssflow.com
4
 *
5
 * Licensed under the MIT License:
6
 * http://www.opensource.org/licenses/mit-license.php
7
 *
8
 * View the Sass/SCSS source at:
9
 * http://www.cssflow.com/snippets/check-buttons/demo/scss
10
 *
11
 * Original PSD by Alex Montague
12
 */
13
 
14
@import url(http://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.css);
15
 
16
body {
17
  font: 13px/20px 'Lucida Grande', Verdana, sans-serif;
18
  color: #404040;
19
  background: #373939;
20
}
21
 
22
.container {
23
  margin: 80px auto;
24
  width: 460px;
25
  text-align: center;
26
}
27
 
28
.container > .button { margin: 0 12px; }
29
 
30
.button {
31
  display: inline-block;
32
  vertical-align: top;
33
  height: 48px;
34
  line-height: 46px;
35
  padding: 0 25px;
36
  font-family: inherit;
37
  font-size: 15px;
38
  color: #bbb;
39
  text-align: center;
40
  text-decoration: none;
41
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.7);
42
  background-color: #303030;
43
  background-clip: padding-box;
44
  border: 1px solid;
45
  border-color: #202020 #1a1a1a #111;
46
  border-radius: 25px;
47
  background-image: -webkit-linear-gradient(top, #3d3d3d, #272727);
48
  background-image: -moz-linear-gradient(top, #3d3d3d, #272727);
49
  background-image: -o-linear-gradient(top, #3d3d3d, #272727);
50
  background-image: linear-gradient(to bottom, #3d3d3d, #272727);
51
  -webkit-box-shadow: inset 0 1px rgba(255, 255, 255, 0.09), 0 1px 3px rgba(0, 0, 0, 0.3);
52
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.09), 0 1px 3px rgba(0, 0, 0, 0.3);
53
}
54
 
55
.button:hover {
56
  background-color: #363636;
57
  background-image: -webkit-linear-gradient(top, #404040, #2a2a2a);
58
  background-image: -moz-linear-gradient(top, #404040, #2a2a2a);
59
  background-image: -o-linear-gradient(top, #404040, #2a2a2a);
60
  background-image: linear-gradient(to bottom, #404040, #2a2a2a);
61
}
62
 
63
.button:active, .button.active {
64
  line-height: 48px;
65
  color: #ccc;
66
  background-color: #b42f32;
67
  border-color: #1c1c1c #202020 #222;
68
  background-image: -webkit-linear-gradient(top, #a3161a, #b63335 60%, #bf4749);
69
  background-image: -moz-linear-gradient(top, #a3161a, #b63335 60%, #bf4749);
70
  background-image: -o-linear-gradient(top, #a3161a, #b63335 60%, #bf4749);
71
  background-image: linear-gradient(to bottom, #a3161a, #b63335 60%, #bf4749);
72
  -webkit-box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.09);
73
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.09);
74
}
75
 
76
.button-check {
77
  position: relative;
78
  width: 48px;
79
  padding: 0;
80
  font: 0/0 serif;
81
  text-shadow: none;
82
  color: transparent;
83
}
84
 
85
.button-check:before {
86
  content: '';
87
  position: absolute;
88
  top: 50%;
89
  left: 50%;
90
  margin: -7px 0 0 -10px;
91
  height: 5px;
92
  width: 16px;
93
  border: solid #bbb;
94
  border-width: 0 0 5px 5px;
95
  -webkit-transform: rotate(-45deg);
96
  -moz-transform: rotate(-45deg);
97
  -ms-transform: rotate(-45deg);
98
  -o-transform: rotate(-45deg);
99
  transform: rotate(-45deg);
100
  -webkit-box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.4);
101
  box-shadow: -1px 1px 1px rgba(0, 0, 0, 0.4);
102
}
103
 
104
.button-check:active:before, .button-check.active:before {
105
  margin-top: -6px;
106
  border-color: #ccc;
107
  -webkit-box-shadow: -1px 1px rgba(0, 0, 0, 0.3);
108
  box-shadow: -1px 1px rgba(0, 0, 0, 0.3);
109
}
110
 
111
/* a.k.a. the Unicode version */
112
.lt-ie9 .button { line-height: 46px; }
113
.lt-ie9 .button-check:before { content: none; }
114
.lt-ie9 .button-check:after {
115
  content: '\2713';
116
  font-size: 24px;
117
  font-weight: bold;
118
  color: #bbb;
119
}
120
 
 

Check Buttons

CSSDeck G+