cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmlicon-personicon-teamoctocatpop-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="menu">MENU</div>
<div class="contenu">
  <img src="http://iamvdo.me/conf/2013/kiwiparty/vdo/imgs/kiwis.jpg" alt="">
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Temporibus, ipsas.</p>
  <h2>Les Kiwis? Partis!</h2>
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Magni, dolorum, alias, officia consequuntur delectus omnis dolorem ratione animi maiores accusantium ut harum blanditiis debitis quasi adipisci quod porro maxime corrupti.</p>
  <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Sequi, delectus, eum, commodi blanditiis illo maxime fuga incidunt consequuntur vel nemo inventore quisquam architecto temporibus nobis deserunt totam perspiciatis quo natus? Lorem ipsum dolor sit amet, consectetur adipisicing elit. Veritatis rerum deserunt perferendis. Molestias, laudantium, doloremque voluptates dolores sequi hic facilis nobis sint eligendi ipsa architecto deleniti. Aperiam, soluta accusantium voluptas.</p>
  float: left;
  /* Empeche d'etre adjacent aux floats */
  clear: left;
  /* Cree un BFC */
  overflow: hidden;

/*Sans intérêt pour la compréhension*/
  width: 550px;
  margin: auto;
  padding-top: 30px;
  float: left;
  width: 150px; height: 200px;
  background: deepskyblue;
  width: 390px;
  background: tomato;
  padding: 5px;
  margin-left: 150px;
.contenu img{
  float: left;
  width: 150px;
  margin: 0 15px 15px 0;
.contenu h2{
  padding: .2em;


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.


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