Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html lang="pt-br">
- <head>
- <meta charset="utf-8" />
- <title>Exemplo Tableless</title>
- <style type="text/css">
- *
- {
- text-align: justify;
- font-family: Calibri, sans-serif;
- font-size:25px;
- }
- #principal
- {
- width:95%;
- background-color: beige;
- height: 600px;
- position: relative;
- margin: 0 auto;
- }
- #topo
- {
- width: 100%;
- height: 15%;
- background-color: blue;
- }
- #conteudo
- {
- width: 75%;
- height: 70%;
- float: left;
- z-index: 0;
- }
- #img
- {
- width:25%;
- height: 30%;
- float: left;
- background-color: red;
- }
- #extra
- {
- width: 25%;
- height: 40%;
- float: left;
- background-color: orange;
- }
- #rodape
- {
- width: 100%;
- height: 10%;
- float: left;
- background-color: green;
- }
- /*-------------------------------------Classes do Menu--------------------------*/
- #barramenu
- {
- width: 100%;
- height: 10%;
- float: left;
- background-color: yellow;
- }
- #barramenu nav
- {
- width: 15%;
- height: 90%;
- padding: 3px;
- background-color: maroon;
- color:white;
- float: left;
- margin-left: 5%;
- }
- #barramenu nav:hover
- {
- height:200%;
- position: relative;
- transition: height 1s;
- z-index: 10;
- }
- </style>
- </head>
- <body>
- <section id="principal">
- <header id="topo">
- </header>
- <nav id="barramenu">
- <nav>
- Menu 1<br />
- Opção 1.1<br />
- Opção 1.2
- </nav>
- <nav>
- Menu 2<br />
- Opção 2.1<br />
- Opção 2.2
- </nav>
- <nav>
- Menu 3<br />
- Opção 3.1<br />
- Opção 3.2
- </nav>
- </nav>
- <article id="conteudo">
- </article>
- <aside id="img">
- </aside>
- <aside id="extra">
- </aside>
- <footer id="rodape">
- </footer>
- </section>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment