Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


                <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="" 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%;