cssAudio - ActiveCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmlicon-personicon-teamoctocatspinnerstartv

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="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>
            
          
!
            
              @import url(http://fonts.googleapis.com/css?family=Open+Sans);
@import url(http://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
}

            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console