Code to create beautiful gradient menu using CSS

by rajesh 2012-08-18 18:22:17

Code to create beautiful gradient menu using CSS

<style>
.menu > li > div {
background-color: #818975;
background-image: -webkit-gradient(linear, left top, left bottom, from(rgb(214, 222, 234)),to(rgb(160, 168, 160)));
background-image: -webkit-linear-gradient(top, rgb(214, 222, 234), rgb(160, 168, 160));
background-image: -moz-linear-gradient(top, rgb(214, 222, 234), rgb(160, 168, 160));
background-image: -o-linear-gradient(top, rgb(214, 222, 234), rgb(160, 168, 160));
background-image: -ms-linear-gradient(top, rgb(214, 222, 234), rgb(160, 168, 160));
background-image: linear-gradient(top, rgb(214, 222, 234), rgb(160, 168, 160));
filter: progidVery Happy
XImageTransform.Microsoft.gradient(GradientType=0,StartColorStr='#a2aaa6', EndColorStr='#808894');
border-bottom: 1px solid #43474d;
-webkit-box-shadow: inset 0px 1px 0px 0px #878e98;
-moz-box-shadow: inset 0px 1px 0px 0px #878e98;
box-shadow: inset 0px 1px 0px 0px #a7aea8;
width: 100%;
height: 2.75em;
line-height: 2.75em;
text-indent: 2.75em;
display: block;
position: relative;
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: 600;
color: #fff;
text-shadow: 0px 1px 0px rgba(0,0,0,.5);
}
</style>


<ul class="menu">
<li class="us"><div>United States</div></li>
</ul>

1077
like
0
dislike
0
mail
flag

You must LOGIN to add comments