Return to Snippet

Revision: 49363
at July 20, 2011 21:03 by clone


Initial Code
<html>
<head>
<script src="http://ie7-js.googlecode.com/svn/version/2.0(beta3)/IE8.js" type="text/javascript"></script>
</head>
<body>
<style type="text/css">
#submit {
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px 2px 2px 2px;
	background-color: #E1E1E1;
	background-image: -webkit-gradient(linear,left top,left bottom,from(#E1E1E1),to(#D9D9D9));
	background-image: -webkit-linear-gradient(top, #E1E1E1, #D9D9D9);
	background-image: -moz-linear-gradient(top, #E1E1E1, #D9D9D9);
	background-image: -ms-linear-gradient(top, #E1E1E1, #D9D9D9);
	background-image: -o-linear-gradient(top, #E1E1E1, #D9D9D9);
	background-image: linear-gradient(top, #E1E1E1, #D9D9D9);
	border: 1px solid #B8B8B8;
	cursor: pointer;
	font-weight: bold;
	height: 27px;
	line-height: 27px;
	margin-left: 155px;
	min-width: 54px;
	padding: 0 8px;
	text-align: center;
	-webkit-transition: all 0.218s;
	-moz-transition: all 0.218s;
	-o-transition: all 0.218s;
	transition: all 0.218s;
	-webkit-appearance: push-button;
}

#submit:hover {
  background-image: -webkit-linear-gradient(top,#E1E1E1,#C1C1C1);
  background-image: -moz-linear-gradient(top,#E1E1E1,#C1C1C1);
  background-image: -ms-linear-gradient(top,#E1E1E1,#C1C1C1);
  background-image: -o-linear-gradient(top,#E1E1E1,#C1C1C1);
  background-image: linear-gradient(top,#E1E1E1,#C1C1C1);
  border: 1px solid #A0A0A0;
}

.menu {
	height: auto;
	width: 148px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	padding: 2px
}


.menu .menu_liste li a {
	display:block;
	padding-top: 5px;
	padding-bottom: 5px;
	padding-left: 4px;
	text-decoration:none;
	color: #000;
}

ul, li {
	margin: 0;
	padding: 0;
	list-style:none;
	font-family: 'segoe ui', 'Tahoma', 'Verdana', 'lucida grande', sans-serif;
	font-size: 12px;
}

li{
	border: 1px solid #ddd;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	margin: 2px;
	background-image: -webkit-gradient(linear,left top,left bottom,from(#E1E1E1),to(#D9D9D9));
	background-image: -webkit-linear-gradient(top, #E1E1E1, #D9D9D9);
	background-image: -moz-linear-gradient(top, #E1E1E1, #D9D9D9);
	background-image: -ms-linear-gradient(top, #E1E1E1, #D9D9D9);
	background-image: -o-linear-gradient(top, #E1E1E1, #D9D9D9);
	background-image: linear-gradient(top, #E1E1E1, #D9D9D9);
	border: 1px solid #B8B8B8;
	font-weight: bold;
}

li:hover{
	background-image: -webkit-linear-gradient(top,#FDB813,#F68B1F);
	background-image: -moz-linear-gradient(top,#FDB813,#F68B1F);
	background-image: -ms-linear-gradient(top,#FDB813,#F68B1F);
	background-image: -o-linear-gradient(top,#FDB813,#F68B1F);
	background-image: linear-gradient(top,#FDB813,#F68B1F);
	border: 1px solid #F17022;
}
</style>

<input type="submit" id="submit"/>

<div class="menu">


<ul class="menu_liste">

<li><a href="#">Home</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Portfolio</a></li>
<li><a href="#">CV</a></li>
<li><a href="#">Projects</a></li>
<li><a href="#">Contact Me</a></li>

</ul>

</div>
</body>
</html>

Initial URL

                                

Initial Description

                                

Initial Title
CSS3 Vertical Menu Navigation

Initial Tags
navigation, CSS3

Initial Language
HTML