cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

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.

Quick-add: + add another resource

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.

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.

            
              <ul class="wrapper">
  <li>
    <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/12005/christmas6.jpg" alt="Widget disapproves of Christmas">
    <p>Widget disapproves of Christmas</p>
  </li>
  <li>
    <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/12005/christmas1.jpg" alt="Bird decoration">
    <p>Widget is annoyed by this bird</p>
  </li>
  <li>
    <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/12005/christmas2.jpg" alt="Owl decoration">
    <p>This owl is irritating</p>
  </li>
  <li>
    <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/12005/christmas7.jpg" alt="Weird bear/cat decoration">
    <p>Widget thinks this bear/cat thing is weird</p>
  </li>
</ul>
            
          
!
            
              img {
  max-width: 100%;
  border-radius: 10px;
}

.wrapper {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

.wrapper li {
  flex: 3 1 100px;
  box-sizing: border-box;
  padding: 1em;
  min-width: 1%;
}

.wrapper li:nth-child(1) {
  flex: 1 1 100px;
}

            
          
!
999px
Loading ..................

Console