css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <div class="row">
<section class="col-6 column">
  <img src="http://davidhurwich.com/des117/codepen/toystory.jpg" alt="Toy Story" />
  <h2>Toy Story</h2>
  <p>
  Toy Story is a 1995 American computer-animated buddy comedy adventure film produced by Pixar Animation Studios and released by Walt Disney Pictures. The directorial debut of John Lasseter, Toy Story was the first feature-length computer-animated film and the first theatrical film produced by Pixar.
  </p>
  <p>
Taking place in a world where anthropomorphic toys pretend to be lifeless whenever humans are present, the film's plot focuses on the relationship between Woody, an old-fashioned pullstring cowboy doll (voiced by Tom Hanks), and Buzz Lightyear, an astronaut action figure (voiced by Tim Allen), as they evolve from rivals competing for the affections of Andy, their owner, to friends who work together to be reunited with Andy as his family prepares to move to a new home. The screenplay was written by Joss Whedon, Andrew Stanton, Joel Cohen and Alec Sokolow, based on a story by Lasseter, Pete Docter, Stanton and Joe Ranft. The film features music by Randy Newman, and was executive-produced by Steve Jobs and Edwin Catmull.
  </p>
  
  <iframe width="560" height="315" src="https://www.youtube.com/embed/KYz2wyBy3kc" frameborder="0" allowfullscreen></iframe>
</section>
<section class="col-6 column">
  <img src="http://davidhurwich.com/des117/codepen/nemo.jpg" alt="" />
  <h2>Finding Nemo</h2>
  <p>
  Finding Nemo is a 2003 American computer-animated comedy-drama adventure film produced by Pixar Animation Studios and released by Walt Disney Pictures. Written and directed by Andrew Stanton with co-direction by Lee Unkrich, the film stars the voices of Albert Brooks, Ellen DeGeneres, Alexander Gould, and Willem Dafoe. It tells the story of the overprotective Ocellaris clownfish named Marlin who, along with a regal blue tang named Dory, searches for his abducted son Nemo all the way to Sydney Harbour. Along the way, Marlin learns to take risks and comes to terms with Nemo taking care of himself.
  </p>
  <iframe width="560" height="315" src="https://www.youtube.com/embed/wZdpNglLbt8" frameborder="0" allowfullscreen></iframe>
</section>
</div>
<div class="row">
<section class="col-6 column">
  <img src="http://davidhurwich.com/des117/codepen/incredibles.jpg" alt="" />
  <h2>The Incredibles</h2>
  <p>
  The Incredibles is a 2004 American computer-animated superhero film written and directed by Brad Bird, produced by Pixar Animation Studios, and released by Walt Disney Pictures. The film follows a family of superheroes who is forced to hide their powers and live a quiet suburban life. Mr. Incredible's desire to help people draws the entire family into a battle with his longtime enemy—Syndrome, who was once his fan and now plots to wipe out every single superhuman being on Earth with his killer robot.
  </p>
  <iframe width="560" height="315" src="https://www.youtube.com/embed/eZbzbC9285I" frameborder="0" allowfullscreen></iframe>
</section>
<section class="col-6 column">
  <img src="http://davidhurwich.com/des117/codepen/walle.jpg" alt="" />
  <h2>Wall-e</h2>
  <p>
  WALL-E (stylized with an interpunct as WALL·E) is a 2008 American computer-animated dystopian comic science fiction comedy film directed and co-written by Andrew Stanton, produced by Jim Morris, and co-written by Jim Reardon. It stars the voices of Ben Burtt, Elissa Knight, Jeff Garlin, Fred Willard, John Ratzenberger, Kathy Najimy, Sigourney Weaver and the MacInTalk system. It was produced by Pixar Animation Studios and distributed by Walt Disney Pictures, and was the overall ninth feature film produced by the company.
  </p>
  <iframe width="560" height="315" src="https://www.youtube.com/embed/alIq_wG9FNk" frameborder="0" allowfullscreen></iframe>
</section>
</div>
            
          
!
            
              *{
  box-sizing: border-box;
}
.col-6 {
  width: 50%;
}

.column {
  float:left;
}
.row {
  clear:both;
}

img, audio, video, iframe {
  max-width: 100%;
}

@media screen and (min-width: 600px) { 
  .col-6 { 
    width: 50%; 
  }

}

@media screen and (max-width: 601px) { 
  .col-6 {
    width: 100%; 
  }

}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.
Loading ..................

Console