Ajax Loader
HTML
<div id="container">
1
<div id="container">
2
  <ul>
3
    <li><a href="#">Home</a></li>
4
    <li><a href="#">Blog</a></li>
5
    <li><a href="#">Contact</a></li>
6
  </ul>
7
</div>
 
CSS
body {
1
body {
2
  background: #333;
3
  text-align: center;
4
}
5
 
6
#container {
7
  display: inline-block;
8
  padding: 5px;
9
  margin: 60px;
10
  background: rgba(0,0,0,0.1);
11
  position: relative;
12
  
13
  -webkit-border-radius: 100px;
14
  -moz-border-radius: 100px;
15
  border-radius: 100px;
16
 
17
  -webkit-box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.4), 0px 1px 1px 0px rgba(255,255,255,.1);
18
  -moz-box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.4), 0px 1px 1px 0px rgba(255,255,255,.1);
19
  box-shadow: inset 0px 1px 2px 0px rgba(0,0,0,0.4), 0px 1px 1px 0px rgba(255,255,255,.1);
20
 
21
  -webkit-transition: all .2s ease;
22
  -moz-transition: all .2s ease;
23
  -ms-transition: all .2s ease;
24
  -o-transition: all .2s ease;
25
  transition: all .2s ease;
26
}
27
 
28
#container ul {
29
  padding: 0;
30
  height: 40px;
31
  margin: 0;
32
  list-style: none;
33
  overflow: hidden;
34
  
35
  -webkit-box-shadow: inset 0px 1px 1px 0px rgba(255,255,255,.2), 0px 1px 2px 0px rgba(0,0,0,0.5);
36
  -moz-box-shadow: inset 0px 1px 1px 0px rgba(255,255,255,.2), 0px 1px 2px 0px rgba(0,0,0,0.5);
37
  box-shadow: inset 0px 1px 1px 0px rgba(255,255,255,.2), 0px 1px 2px 0px rgba(0,0,0,0.5);
38
  
39
  background: #5c6063;
40
  background-image: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.3) 100%);
41
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.3)));
42
  background-image: -webkit-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
43
  background-image: -o-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
44
  background-image: -ms-linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
45
  background-image: linear-gradient(top, rgba(0,0,0,0) 0%,rgba(0,0,0,0.3) 100%);
46
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#4d000000',GradientType=0 );
47
  
48
  -webkit-border-radius: 100px;
49
  -moz-border-radius: 100px;
50
  border-radius: 100px;
51
}
52
 
53
#container ul li {
54
  background: rgba(255,255,255,0.0);
55
  float: left;
56
  text-align: center;
57
  border-right: 1px solid #666;
58
  border-left: 1px solid #444;
59
  
60
  -webkit-box-sizing: border-box;
61
  -moz-box-sizing: border-box;
62
  box-sizing: border-box;
63
  
64
  -webkit-transition: all .2s ease;
65
  -moz-transition: all .2s ease;
66
  -ms-transition: all .2s ease;
67
  -o-transition: all .2s ease;
68
  transition: all .2s ease;
69
}
70
 
71
#container ul li:hover {
72
  background: rgba(255,255,255,0.08);
73
}
74
 
75
#container ul li:active {
76
  background: rgba(0,0,0,0.08);
77
}
78
 
79
#container ul li:first-child {
80
  border-left: none;
81
 
82
  -webkit-border-radius: 100px 0 0 100px;
83
  -moz-border-radius: 100px 0 0 100px;
84
  border-radius: 100px 0 0 100px;
85
}
86
 
87
#container ul li:last-child {
88
  border-right: none;
89
 
90
  -webkit-border-radius: 0 100px 100px 0;
91
  -moz-border-radius: 0 100px 100px 0;
92
  border-radius: 0 100px 100px 0;
93
}
94
 
95
#container ul li a{
96
  text-decoration: none;
97
  font: 11px/41px Arial, sans-serif;
98
  color: #ddd;
99
  text-transform: uppercase;
100
  text-shadow: 0px 1px rgba(0,0,0,0.5);
101
  padding: 35px;
102
 
103
}
 

Awesome Menu Bar

CSSDeck G+