Skip to content

Instantly share code, notes, and snippets.

@mlpassos
Created January 18, 2013 21:53
Show Gist options
  • Save mlpassos/4568972 to your computer and use it in GitHub Desktop.
Save mlpassos/4568972 to your computer and use it in GitHub Desktop.
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
body{
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
}
.wrapper{width:90%;background-color:blue;height:auto;padding:5%;}
.left{width:14%;background-color:yellow;padding:2%;float:left;}
.right{width:14%;background-color:green;float:right;padding:2%;}
.content{width:59%;background-color:white;margin:0 auto;padding:2%;}
.menu{list-style-type:none;width:100%;background-color:brown;padding:0%;margin-left:-10%;}
.menu-item{border-radius:8px;float:left;margin-left:10%;background-color:white;padding:2% 5% 2% 5%;}
header{margin-bottom:1%;width:90%;background-color:gray;padding:5%;overflow:hidden;border-radius: 20px 20px 0 0 ;}
footer{margin-top:1%;width:90%;background-color:purple;color:white;padding:5%;text-align:center;border-radius: 0 0 20px 20px;}
<div class="wrapper">
<header>
<h1>Cabeçalho</h1>
<nav>
<ul class="menu">
<li class="menu-item">Link</li>
<li class="menu-item">Link</li>
<li class="menu-item">Link</li>
<li class="menu-item">Link</li>
</ul>
</nav>
</header>
<aside class="left">left</aside>
<aside class="right">right</aside>
<div class="content">content</div>
<footer>rodapé</footer>
</div>
// alert('Hello world!');
{"view":"split-vertical","fontsize":"110","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment