Created
July 9, 2013 06:17
-
-
Save AliMD/5955088 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.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; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Live Preview