Ajax Loader
×
HTML
<div class="wrapper">  
1
<div class="wrapper">  
2
<div class="container"><ul class="menu" rel="sam1">  
3
<li class="active"><a href="#">Home</a></li>  
4
<li><a href="#">About</a></li>  
5
<li ><a href="#">Blog</a></li>  
6
<li><a href="#">Services</a></li>  
7
<li><a href="#">Portfolio</a></li>  
8
<li><a href="#">Contacts</a></li>  
9
<li><a href="#">Twitter @insic</a></li>  
10
</ul>  
11
</div>  
12
</div>  
13
 
14
<ul class="vertical fl" rel="ver1">
15
                <li><a href="#">Home</a><span>Go to my Home</span></li>
16
                <li><a href="#">About</a><span>Know a little about me</span></li>
17
                <li><a href="#">Blog</a><span>My daily updates</span></li>
18
                <li><a href="#">Services</a><span>This is what I do</span></li>
19
                <li><a href="#">Portfolio</a><span>Showcase of my works</span></li>
20
                <li><a href="#m">Contacts</a><span>Say something about me</span></li>
21
                <li><a rel="external nofollow" href="#">Twitter @insic</a><span>Follow me on twitter</span></li>
22
            </ul>
 
CSS
body {
1
body {
2
    font-family: Arial;
3
    font-size: 14px;
4
    text-shadow: 0 1px 1px rgba(255,255,255,0.4);
5
    color: #262626;
6
    margin: 0;
7
    padding: 0;
8
    background: #141414;
9
}
10
 
11
.wrapper {
12
    width: 100%;
13
    height: 80px;
14
    background : #464646;
15
    background : -webkit-gradient(linear, left top, left bottom, from(rgb(168,168,168)), to(rgb(69,69,69)));
16
    background : -moz-linear-gradient(top, rgb(168,168,168), rgb(69,69,69));
17
    border-top: 2px solid #939393;
18
    position: relative;
19
    margin-bottom: 30px;
20
}
21
 
22
.title {
23
    position: absolute;
24
    right: 20px;
25
    top: 10px;
26
    font-size: 18px;
27
    text-transform: uppercase;
28
}
29
 
30
.fl {
31
    float: left;
32
}
33
 
34
.container {
35
    width: 960px;
36
    margin: 0 auto;
37
}
38
 
39
.menu {
40
    height: 80px;
41
    border-left: 1px solid rgba(0,0,0,0.3);
42
    border-right: 1px solid rgba(255,255,255,0.3);
43
    float:left;
44
}
45
 
46
a {
47
    text-decoration: none;
48
    color: #363636;
49
    text-transform: uppercase;
50
    font-size: 15px;
51
    font-weight: bold;
52
}
53
 
54
ul {
55
    margin: 0;
56
    padding: 0;
57
}
58
 
59
ul.menu li {
60
    list-style: none;
61
    float:left;
62
    height: 79px;
63
    text-align: center;
64
    background: -webkit-gradient(radial, 50% 100%, 10, 50% 50%, 90, from(rgba(31,169,244,1)), to(rgba(0,28,78, 1)) );
65
    background: -moz-radial-gradient(center 80px 45deg, circle cover, rgba(31,169,244,1) 0%, rgba(0,28,78, 1) 100%);
66
    }
67
 
68
ul li a {
69
    display: block;
70
    padding: 0 20px;
71
    border-left: 1px solid rgba(255,255,255,0.1);
72
    border-right: 1px solid rgba(0,0,0,0.1);
73
    text-align: center;
74
    line-height: 79px;
75
    background : -webkit-gradient(linear, left top, left bottom, from(rgb(168,168,168)), to(rgb(69,69,69)));
76
    background : -moz-linear-gradient(top, rgb(168,168,168), rgb(69,69,69));
77
    -webkit-transition-property: background;
78
    -webkit-transition-duration: 700ms;
79
    -moz-transition-property: background;
80
    -moz-transition-duration: 700ms;
81
    }
82
 
83
ul li a:hover {
84
    background: transparent none;
85
}
86
 
87
ul[rel=sam1] li a {
88
    background: #606060;
89
}
90
 
91
ul[rel=sam1] li a:hover {
92
    background: transparent none;
93
}
94
 
95
ul li.active a{
96
    background: -webkit-gradient(radial, 50% 100%, 10, 50% 50%, 90, from(rgba(31,169,244,1)), to(rgba(0,28,78, 1)) );
97
    background: -moz-radial-gradient(center 80px 45deg, circle cover, rgba(31,169,244,1) 0%, rgba(0,28,78, 1) 100%);
98
}
99
 
100
 
101
/* Css for vertical sample */
102
ul.vertical {
103
    margin: 0 20px 0 0;
104
    width: 250px;
105
    border: 1px solid #323232;
106
    -webkit-border-top-right-radius: 8px;
107
    -moz-border-radius-topright: 8px;
108
    -webkit-border-bottom-right-radius: 8px;
109
    -moz-border-radius-bottomright: 8px;
110
}
111
 
112
ul.vertical li {
113
    list-style: none;
114
    position: relative;
115
    background: -webkit-gradient(radial, 50% 100%, 0, 50% 100%, 140, from(rgba(31,169,244,1)), to(rgba(0,28,78, 1)) );
116
    background: -moz-radial-gradient(center 80px 45deg, circle cover, rgba(31,169,244,1) 0%, rgba(0,28,78, 1) 100%);
117
}
118
 
119
ul.vertical li span {
120
    position: absolute;
121
    left: 20px;
122
    top: 50px;
123
    color: #151515;
124
    text-shadow: 0 1px 1px rgba(255,255,255,0.2);
125
}
126
 
127
ul.vertical li:first-child a, ul.vertical li:first-child {
128
    -webkit-border-top-right-radius: 8px;
129
    -moz-border-radius-topright: 8px;
130
}
131
 
132
ul.vertical li:last-child a, ul.vertical li:last-child {
133
    -webkit-border-bottom-right-radius: 8px;
134
    -moz-border-radius-bottomright: 8px;
135
}
136
 
137
ul.vertical li a{
138
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(117,117,117,1)), to(rgba(68,68,68,1)));
139
    background: -moz-linear-gradient(top, rgba(117,117,117,1), rgba(68,68,68,1));
140
    text-align: left;
141
    border-bottom: 1px solid #323232;
142
    border-top: 1px solid #868686;
143
    border-right: 1px solid #5a5a5a;
144
    color: #151515;
145
    -webkit-transition-property: background;
146
    -webkit-transition-duration: 700ms;
147
    -moz-transition-property: background;
148
    -moz-transition-duration: 700ms;
149
}
150
 
151
ul.vertical li a:hover {
152
    background: transparent none;
153
}
154
 
155
ul.vertical[rel=ver1] li a{
156
    background: #606060;
157
}
158
 
159
ul.vertical[rel=ver1] li a:hover{
160
    background: transparent none;
161
}
 

Menu Glaxie

CSSDeck G+