Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- html body {
- font-family: Constantina, Georgia, 'Nimbus Roman No9 L', serif;;
- font-size: 16px;
- }
- * {
- margin: 0;
- padding: 0;
- }
- #wrapper {
- width: 960px;
- }
- ul {
- list-style-type: none;
- }
- a {
- text-decoration: none;
- }
- .menu li {
- margin-top: 10px;
- margin-left: 10px;
- padding-top: 12px;
- height: 38px;
- width: 170px;
- background-color: #B6FF00;
- text-align: center;
- border-radius: 20px;
- position: relative;
- }
- .content {
- display: none;
- }
- .content {
- position: absolute;
- left: 160px;
- top: -11px;
- }
- .sub-menu li {
- width: 540px;
- height: 100%;
- margin-bottom: 10px;
- padding-top: 23px;
- padding-bottom: 20px;
- padding-left: 20px;
- text-align: left;
- border-radius: 10px;
- background-color: #008000;
- }
- .sub-menu li a {
- color: white;
- }
- .sub-menu li img {
- display: none;
- width: 500px;
- padding-top: 10px;
- border-top-left-radius: 10px;
- border-radius: 10px;
- }
- .menu li:hover {
- text-decoration: underline;
- }
- .menu li:hover .content {
- display: block;
- position: absolute;
- }
- .sub-menu li:hover img {
- display: block;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement