Skip to content

Instantly share code, notes, and snippets.

@vicenteguerra
Last active August 29, 2015 14:26
Show Gist options
  • Save vicenteguerra/bf0bc7f4bcf9d090daae to your computer and use it in GitHub Desktop.
Save vicenteguerra/bf0bc7f4bcf9d090daae to your computer and use it in GitHub Desktop.
index.html
body{
margin: 0;
border: none;
}
header, nav, section, aside, footer{
font-family: helvetica;
background-color: #099;
color: #fff;
font-size: 28px;
line-height: 28px;
text-align: center;
margin: 25px 0 25px 0;
}
article{
background-color: #00D0D0;
}
header{
padding: 11px 0 11px 0;
width: 100%;
}
nav, footer{
width: 100%;
padding: 8px 0 8px 0;
}
aside{
width: 18.5%;
display: inline-block;
border: none;
margin-right: 1.5%;
padding: 60px 0;
height: 200px;
}
section{
width: 78.5%;
display: inline-block;
border: none;
margin-left: 1.5%;
padding: 30px 0;
}
article{
height: 230px;
}
#peligro{
background-color: #eee ;
color: #000;
width: 80%;
margin-left: 10%;
}
.redondo{
border-radius: 20px;
/* border: solid 3px blue; */
}
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header >
HEADER
</header>
<nav>
NAV
</nav>
<aside class="redondo">
ASIDE
</aside><section>
SECTION
<article id="peligro" class="redondo">
ARTICLE
</article>
</section>
<footer>
FOOTER
</footer>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment