Pen Settings

HTML

CSS

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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div class="container">
  <ul class="list-group">
    <li class="list-group-item clearfix">
      <img class="img-responsive img-rounded" src="http://placehold.it/256/163a63" alt=""/>
      <h3 class="list-group-item-heading">
        Amazing Item
        <span class="label label-danger pull-right">NEW !</span>
      </h3>
      <p class="list-group-item-text lead">
        Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio.
        <br />
        <a href="#"><small>Details&#8230;</small></a>
      </p>
      <div class="btn-toolbar pull-right" role="toolbar" aria-label="">
        <div class="btn-group">
          <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-fw fa-list"></i> <span class="caret"></span></button>
          <ul class="dropdown-menu">
            <li><a href="#">Add to new list</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">A list</a></li>
            <li><a href="#">Another list</a></li>
            <li><a href="#">Third list</a></li>
          </ul>
        </div>
        <a href="#" class="btn btn-default">Add to cart</a>
        <a href="#" class="btn btn-primary">$29.99</a>
      </div>
    </li>
    <li class="list-group-item active clearfix">
      <img class="img-responsive img-rounded" src="http://placehold.it/256/163a63" alt=""/>
      <h3 class="list-group-item-heading">
        Current thing
      </h3>
      <p class="list-group-item-text lead">
        Etiam porta sem malesuada magna mollis euismod. Etiam porta sem malesuada magna mollis euismod.
        <br />
        <a href="#"><small>Details&#8230;</small></a>
      </p>
      <div class="btn-toolbar pull-right" role="toolbar" aria-label="">
        <div class="btn-group">
          <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-fw fa-list"></i> <span class="caret"></span></button>
          <ul class="dropdown-menu">
            <li><a href="#">Add to new list</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">A list</a></li>
            <li><a href="#">Another list</a></li>
            <li><a href="#">Third list</a></li>
          </ul>
        </div>
        <a href="#" class="btn btn-default">Add to cart</a>
        <a href="#" class="btn btn-info">$9.95</a>
      </div>
    </li>
    <li class="list-group-item clearfix">
      <img class="img-responsive img-rounded" src="http://placehold.it/256/163a63" alt=""/>
      <h3 class="list-group-item-heading">
        Something great
      </h3>
      <p class="list-group-item-text lead">
        Donec sed odio dui. Donec id elit non mi porta gravida at eget metus. Donec sed odio dui. Donec id elit non mi porta gravida at eget metus.
        <br />
        <a href="#"><small>Details&#8230;</small></a>
      </p>
      <div class="btn-toolbar pull-right" role="toolbar" aria-label="">
        <div class="btn-group">
          <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-fw fa-list"></i> <span class="caret"></span></button>
          <ul class="dropdown-menu">
            <li><a href="#">Add to new list</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">A list</a></li>
            <li><a href="#">Another list</a></li>
            <li><a href="#">Third list</a></li>
          </ul>
        </div>
        <a href="#" class="btn btn-default">Add to cart</a>
        <a href="#" class="btn btn-primary">$42.50</a>
      </div>
    </li>
    <li class="list-group-item clearfix">
      <img class="img-responsive img-rounded" src="http://placehold.it/256/163a63" alt=""/>
      <h3 class="list-group-item-heading">
        Another thing
        <span class="label label-default pull-right">SOLD OUT</span>
      </h3>
      <p class="list-group-item-text lead">
        Cras justo odio, dapibus ac facilisis in, egestas eget quam. Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit.
        <br />
        <a href="#"><small>Details&#8230;</small></a>
      </p>
      <div class="btn-toolbar pull-right" role="toolbar" aria-label="">
        <div class="btn-group">
          <button type="button" class="btn disabled btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-fw fa-list"></i> <span class="caret"></span></button>
          <ul class="dropdown-menu">
            <li><a href="#">Add to new list</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">A list</a></li>
            <li><a href="#">Another list</a></li>
            <li><a href="#">Third list</a></li>
          </ul>
        </div>
        <a href="#" class="btn disabled btn-default">Add to cart</a>
        <a href="#" class="btn disabled btn-primary">$1.99</a>
      </div>
    </li>
    <li class="list-group-item clearfix">
      <img class="img-responsive img-rounded" src="http://placehold.it/256/163a63" alt=""/>
      <h3 class="list-group-item-heading">
        Yet another item
      </h3>
      <p class="list-group-item-text lead">
        Etiam porta sem malesuada magna mollis euismod. Etiam porta sem malesuada magna mollis euismod.
        <br />
        <a href="#"><small>Details&#8230;</small></a>
      </p>
      <div class="btn-toolbar pull-right" role="toolbar" aria-label="">
        <div class="btn-group">
          <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-fw fa-list"></i> <span class="caret"></span></button>
          <ul class="dropdown-menu">
            <li><a href="#">Add to new list</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">A list</a></li>
            <li><a href="#">Another list</a></li>
            <li><a href="#">Third list</a></li>
          </ul>
        </div>
        <a href="#" class="btn btn-default">Add to cart</a>
        <a href="#" class="btn btn-primary">$16.00</a>
      </div>
    </li>
    <li class="list-group-item clearfix">
      <img class="img-responsive img-rounded" src="http://placehold.it/256/163a63" alt=""/>
      <h3 class="list-group-item-heading">
        Something else
      </h3>
      <p class="list-group-item-text lead">
        Etiam porta sem malesuada magna mollis euismod. Etiam porta sem malesuada magna mollis euismod.
        <br />
        <a href="#"><small>Details&#8230;</small></a>
      </p>
      <div class="btn-toolbar pull-right" role="toolbar" aria-label="">
        <div class="btn-group">
          <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-fw fa-list"></i> <span class="caret"></span></button>
          <ul class="dropdown-menu">
            <li><a href="#">Add to new list</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">A list</a></li>
            <li><a href="#">Another list</a></li>
            <li><a href="#">Third list</a></li>
          </ul>
        </div>
        <a href="#" class="btn btn-default">Add to cart</a>
        <a href="#" class="btn btn-primary">$12.99</a>
      </div>
    </li>
    <li class="list-group-item clearfix">
      <img class="img-responsive img-rounded" src="http://placehold.it/256/163a63" alt=""/>
      <h3 class="list-group-item-heading">
        Last thing here
      </h3>
      <p class="list-group-item-text lead">
        Cras mattis consectetur purus sit amet fermentum. Maecenas faucibus mollis interdum. Cras mattis consectetur purus sit amet fermentum. Maecenas faucibus mollis interdum.
        <br />
        <a href="#"><small>Details&#8230;</small></a>
      </p>
      <div class="btn-toolbar pull-right" role="toolbar" aria-label="">
        <div class="btn-group">
          <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="fa fa-fw fa-list"></i> <span class="caret"></span></button>
          <ul class="dropdown-menu">
            <li><a href="#">Add to new list</a></li>
            <li role="separator" class="divider"></li>
            <li><a href="#">A list</a></li>
            <li><a href="#">Another list</a></li>
            <li><a href="#">Third list</a></li>
          </ul>
        </div>
        <a href="#" class="btn btn-default">Add to cart</a>
        <a href="#" class="btn btn-success">Free!</a>
      </div>
    </li>
  </ul>
</div>
              
            
!

CSS

              
                body {background-color:#163a63; color:#163a63; padding-top:15px;}

.list-group {box-shadow: 0px 11px 23px 5px rgba(0,0,0,0.34);}

.list-group-item {background-color: rgba(255,255,255,0.7); border:0;}

.btn-toolbar {margin-top:10px;}

img {
  float:left; 
  margin-right:15px;
  height: 128px;
  width: 128px;
}




















/* ==== SOME BOOTSTRAP MODS/STYLING ==== */
.btn-default {background-color: rgba(255,255,255,0.3); border-color:rgba(0,0,0,0.2);}
.img-rounded, .btn, .label {border-radius: 6px;}
.btn {padding: 6px 18px;}
.dropdown-menu>li>a {color:#777;}
.dropdown-menu {
  background-color:rgba(0,0,0,0.8);
  .divider {background-color: #555;}
}
body { /* GRADIENT BG */ background: -moz-linear-gradient(45deg, rgba(0,145,0,1) 0%, rgba(0,86,199,1) 100%); /* ff3.6+ */ background: -webkit-gradient(linear, left bottom, right top, color-stop(0%, rgba(0,145,0,1)), color-stop(100%, rgba(0,86,199,1))); /* safari4+,chrome */ background: -webkit-linear-gradient(45deg, rgba(0,145,0,1) 0%, rgba(0,86,199,1) 100%); /* safari5.1+,chrome10+ */ background: -o-linear-gradient(45deg, rgba(0,145,0,1) 0%, rgba(0,86,199,1) 100%); /* opera 11.10+ */ background: -ms-linear-gradient(45deg, rgba(0,145,0,1) 0%, rgba(0,86,199,1) 100%); /* ie10+ */ background: linear-gradient(45deg, rgba(0,145,0,1) 0%, rgba(0,86,199,1) 100%); /* w3c */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0056C7', endColorstr='#009100',GradientType=1 ); /* ie6-9 */}




































































/* ==== FONTS ==== */
@import url(https://fonts.googleapis.com/css?family=Montserrat:400,700);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:300);
h1,h2,h3,h4,h5,h6 {font-family: 'Montserrat', sans-serif; text-transform:uppercase; font-weight:700;}
html, body {font-family: 'Open Sans', sans-serif; -webkit-font-smoothing: antialiased !important;}
.active a {color:#c7ddef;}

              
            
!

JS

              
                
              
            
!
999px

Console