cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

              <div class="pageWrapper">
  <header class="topBanner">
    Super Simple Responsive Layout
  <nav class="mainNav">
    Home | About | Contact
  <section class="main">
      Main Article
      <br /><br />
      Lorem ipsum dolor sit amet, consectetur adipisicing elit. Explicabo aspernatur magni nihil rem eius voluptate sapiente voluptatibus et sunt suscipit architecto illo quisquam ut aliquid doloremque officiis quae laborum est! Lorem ipsum dolor sit amet, consectetur adipisicing elit. Explicabo praesentium tenetur tempora sit reprehenderitl.<br><br>
      <img src="http://bravo-delapaz.com/wp-content/themes/bravo-delapaz/images/portfolio-img/dms-5050-full.jpg" alt="Mission 50/50" />
      <br /><br />
      Lorem ipsum dolor sit amet, consectetur adipisicing elit. Itaque illum aspernatur aliquid dolorem libero quia quae! Nesciunt labore asperiores hic cumque nostrum consequatur veritatis unde adipisci modi magnam dolores ea.
  <footer class="copyright">&copy; Bravo DMS 2013</footer>
              @import "compass/css3";

* { -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
img {max-width:100%;}

body {background-color:#333; font-size:16px;}

.pageWrapper {
  background-color: #fff;
  margin:1em auto;

.topBanner {
  background-color: #777;
  padding: 1em;

.mainNav {
  background-color: #999;
  padding:1em 5%;

.mainSection {
  background-color: #aaa;

article {
  background-color: #ccc;
  padding:1em 5%;

aside {
  background-color: #fff;
  padding:1em 5%;

@media screen and (min-width: 60em) {
  article {float:left; width:60%}
  aside {float:left; width:40%;}

.copyright {
  background-color: #999;
  padding:1em 5%;
Loading ..................