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.

            
              <div class="container pure-g">
  <div class="child pure-u">
     <div>
       <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/40113/icon_features_list.png" alt="" />
      <h2>Title</h2>
      <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Unde, consequatur nisi sit, saepe earum ipsam.</p>
    </div>
    <button>Buy</button>
  </div>
  <div class="child pure-u">
    <div>
    <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/40113/icon_features_list.png" alt="" />
    <h2>Title</h2>
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Unde, consequatur nisi sit, saepe earum ipsam expedita nulla aperiam nostrum ut iusto, vero tenetur doloribus. Neque similique vero cumque vel repellat.</p>
      </div>
    <button>Buy</button>
  </div>
  <div class="child pure-u">
    <div>
    <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/40113/icon_features_list.png" alt="" />
    <h2>Title</h2>
    <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
      </div>
    <button>Buy</button>
  </div>
</div>
            
          
!
            
              // Normalize.css is included
// The following pure-* classes are pulled from Pure CSSs Grid system, which uses inline-block and has removed cross-browser whitespace discrepencies. I have removed their flexbox additions in order to add them through a separate class for the demo.
.pure-g {
    letter-spacing: -.31em;
    *letter-spacing: normal;
    *word-spacing: -.43em;
    text-rendering: optimizespeed;
    font-family: FreeSans, Arimo, "Droid Sans", Helvetica, Arial, sans-serif;
}
.opera-only :-o-prefocus, .pure-g {
    word-spacing: -.43em;
}
.pure-u {
    display: inline-block;
    *display: inline;
    zoom: 1;
    letter-spacing: normal;
    word-spacing: normal;
    vertical-align: top;
    text-rendering: auto;
}
.pure-g [class *="pure-u"] {
    font-family: sans-serif;
}

//start custom classes
.container {
  background: #f2e6a5;
  padding: 30px;
  text-align: center;
}
.child {
  width: 20%;
  padding: 20px;
  margin: 2.5%;
  background: #f2f2f2;
  text-align: center;
}


//flexbox enhancements
//uncomment to see changes
/*.container {
  display: flex;
  justify-content: space-between;
}

.child {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}*/
            
          
!
999px
Loading ..................

Console