Skip to content

Instantly share code, notes, and snippets.

@AliMD
Created July 9, 2013 06:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AliMD/5955088 to your computer and use it in GitHub Desktop.
Save AliMD/5955088 to your computer and use it in GitHub Desktop.
.mainmenu {
list-style-type: none;
padding: 0;
width: 450px;
margin: 0 auto;
}
.mainmenu li {
float: left;
margin-right: 04px;
border-radius: 6px;
box-shadow:
}
.mainmenu li a{
display: block;
padding: 7px 15px;
background-color: #D35400;
color: #fff;
text-decoration: none;
border-radius: inherit;
font-size: 18px;
letter-spacing: 1px;
box-shadow: 1px 1px 2px black;
-webkit-box-shadow: 1px 1px 2px black;
-moz-box-shadow: 1px 1px 2px black;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
-ms-transition: all 0.5s;
transition: all 0.5s;
}
.mainmenu li:hover a {
background-color: #E67E22;
box-shadow: inset 1px 1px 2px black;
-webkit-box-shadow: inset 1px 1px 2px black;
-moz-box-shadow: inset 1px 1px 2px black;
margin-top: -4px;
}
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>JS Bin</title>
</head>
<body>
<menu class="mainmenu">
<li><a href="#">About Us</a></li>
<li><a href="#">Products</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Contact Us</a></li>
</menu>
</body>
</html>
@AliMD
Copy link
Author

AliMD commented Jul 9, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment