Created
November 17, 2015 18:01
-
-
Save CharlesAgra/11d2120abe9b85f8128b 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
<!DOCTYPE html> | |
<html lang = "pt-br"> | |
<head> | |
<meta charset = "UTF-8"/> | |
<title>Menu - Css3</title> | |
<link rel="stylesheet" type="text/css" href="main.css"/> | |
</head> | |
<body> | |
<div id = "interface"> | |
<div id = "header"> | |
<nav id = "menu"> | |
<ul type = "disc"> | |
<li><a href = "#">Home</a></li> | |
<li><a href = "#">Multimídia</a></li> | |
<li><a href = "#">Sobre nós</a></li> | |
<li><a href = "#">Contato</a></li> | |
</ul> | |
</nav> | |
</div> | |
</div> | |
</body> | |
</html> |
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
nav#menu li { | |
list-style: none; | |
display: inline-block; | |
text-transform: uppercase; | |
} | |
nav#menu a{ | |
background-color: #FFA500; | |
color: black; | |
padding: 10px; | |
text-decoration: none; | |
} | |
nav#menu a:hover{ | |
background-color: #FF4500; | |
color: white; | |
text-decoration: underline; | |
} | |
nav#menu { | |
display: block; | |
position: absolute; | |
top: -8px; | |
left: 600px; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment