Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

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

Packages

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.

Behavior

Auto Save

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.

HTML

              
                <div class="page-wrapper">
  <div class="header">
    <div class="container">
      <h2>logo</h2>
      Home &nbsp; JavaScript &nbsp; CSS &nbsp; UX &nbsp; Resume
    </div>
  </div>
  <div class="main container">

    <div class="details">Details</div>
    <div class="primary">
      <h1>The article title</h1>
      Lorem ipsum dolor sit amet, consectetur adipisicing elit. Accusantium porro modi expedita officiis illum nobis deleniti animi minima reprehenderit vel architecto voluptas debitis eaque. Dolores dignissimos eius necessitatibus inventore in.
      <ul>
        <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
        <li>Aliquam tincidunt mauris eu risus.</li>
        <li>Vestibulum auctor dapibus neque.</li>
      </ul>  
    </div>
    <div class="aside">
      <img src="http://placehold.it/200/200">
      <h3>About me</h3>
      Lorem ipsum dolor sit amet, consectetur adipisicing elit. Cupiditate eos alias distinctio illo quam ex ab nulla possimus repellendus temporibus corporis aliquid saepe quas vero cum nemo deserunt minus quia.
      <h3>Related Articles</h3> 
      <ul>
        <li>Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</li>
        <li>Aliquam tincidunt mauris eu risus.</li>
        <li>Vestibulum auctor dapibus neque.</li>
      </ul>  
    </div>

  </div>
  <div class="footer">&copy; mysite.com 2014</div>
</div>
              
            
!

CSS

              
                @import url(https://fonts.googleapis.com/css?family=Open+Sans);
@import url(https://fonts.googleapis.com/css?family=Goudy+Bookletter+1911);
*{
  box-sizing:border-box;
}
html,
body{
  height:100%;
  margin:0;
  padding:0;
  font-family: 'Open Sans', sans-serif;
  background:#eaeaea;
}

.page-wrapper{
  display:flex;
  min-height:100%;
  flex-direction:column;
}
.container{
  max-width:1200px;
  width:100%;
  margin:0 auto;
  padding:0px 1em;
}

.header{
  background:#2f3440;
  color:#f9f9f9;
  padding-bottom:1em;
}

.main.container{
  flex:1;
  display:flex;
  flex-direction:row;
}

.details,
.primary,
.aside{
  padding-top:1em;
}


.details{
  width:22%;
  background:#eaeaea;
  padding-right:1em;
}
.primary{
  flex:1;
  font-family: 'Goudy Bookletter 1911', serif;
  font-size:1.3em;
  background:#f9f9f9;
  padding:10px 30px;
}
.primary h1{
  margin-top:0;
}
.aside{
  width:18%;
  background:#eaeaea;
  padding-left:1em;
}
.aside img{
  width:100%;
}

.footer{
  height:1.8em;
  line-height:1.8em;
  text-align:center;
  background:#222;
  color:#f9f9f9
}

              
            
!

JS

              
                
              
            
!
999px

Console