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 includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

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

              
                <body>
  <div class="jumbotron">
    <div class="container">

      <div class="col-sm-12 col-md-12">
        <h1>Bootstrap List</h1>
      </div>

      <div class="col-sm-6">
        <p>Making a list in Bootstrap. Gummy Marshmallow icing macaroon caramels. Jelly jujubes caramels topping macaroon tira pie. Apple pie gummi bears oat cake candy canes on top. </p>
      </div>

      <div class="col-sm-6">
        <p>Playing with SASS variables. Gummy Marshmallow icing macaroon caramels. Jelly jujubes caramels topping macaroon tira pie. Apple pie gummi bears oat cake candy canes on top. </p>
      </div>

    </div>
  </div>


  <div class="list">
    <div class="container">
      <div class="col-sm-12 col-md-12">


        <article>
          <img src="http://wpstrategy.com/wp-content/uploads/2015/04/How-to-keep-a-website-project-affordable-300x300.jpg" class="img-thumbnail">
          <h2><a href="/">How to wash your dog in the rain.</a></h2>
          <div class="entry-meta"><span>Posted on <a href="/"><time>April 24, 2015</time></a></span><span class="byline"> by <span class="author vcard"><a href="/">Chance Corbeil</a></span></span>
          </div>
          <span>Posted in <a href="/">Dog Washing</a></span>
        </article>

        <article>
          <img src="http://wpstrategy.com/wp-content/uploads/2015/03/Local-vs-global-optimization-300x300.jpg" class="img-thumbnail">
          <h2><a href="/">Let your cats wash themselves.</a></h2>
          <div class="entry-meta"><span>Posted on <a href="/"><time>April 25, 2015</time></a></span><span class="byline"> by <span class="author vcard"><a href="/">Chance Corbeil</a></span></span>
          </div>
          <span>Posted in <a href="/">Cat Washing</a></span>
        </article>

        <article>
          <img src="http://wpstrategy.com/wp-content/uploads/2015/04/How-to-keep-a-website-project-affordable-300x300.jpg" class="img-thumbnail">
          <h2><a href="/">How to wash your dog in the rain.</a></h2>
          <div class="entry-meta"><span>Posted on <a href="/"><time>April 24, 2015</time></a></span><span class="byline"> by <span class="author vcard"><a href="/">Chance Corbeil</a></span></span>
          </div>
          <span>Posted in <a href="/">Dog Washing</a></span>
        </article>

        <article>
          <img src="http://wpstrategy.com/wp-content/uploads/2015/03/Local-vs-global-optimization-300x300.jpg" class="img-thumbnail">
          <h2><a href="/">Let your cats wash themselves.</a></h2>
          <div class="entry-meta"><span>Posted on <a href="/"><time>April 25, 2015</time></a></span><span class="byline"> by <span class="author vcard"><a href="/">Chance Corbeil</a></span></span>
          </div>
          <span>Posted in <a href="/">Cat Washing</a></span>
        </article>

        <article>
          <img src="http://wpstrategy.com/wp-content/uploads/2015/04/How-to-keep-a-website-project-affordable-300x300.jpg" class="img-thumbnail">
          <h2><a href="/">How to wash your dog in the rain.</a></h2>
          <div class="entry-meta"><span>Posted on <a href="/"><time>April 24, 2015</time></a></span><span class="byline"> by <span class="author vcard"><a href="/">Chance Corbeil</a></span></span>
          </div>
          <span>Posted in <a href="/">Dog Washing</a></span>
        </article>

        <article>
          <img src="http://wpstrategy.com/wp-content/uploads/2015/03/Local-vs-global-optimization-300x300.jpg" class="img-thumbnail">
          <h2><a href="/">Let your cats wash themselves.</a></h2>
          <div class="entry-meta"><span>Posted on <a href="/"><time>April 25, 2015</time></a></span><span class="byline"> by <span class="author vcard"><a href="/">Chance Corbeil</a></span></span>
          </div>
          <span>Posted in <a href="/">Cat Washing</a></span>
        </article>

      </div>
    </div>
  </div>

</body>
              
            
!

CSS

              
                @import "compass/css3";

@import url(https://fonts.googleapis.com/css?family=Lato|Droid+Serif);

// Sass Variables

// Color Variables
$background-color: #F59259;
$primary-color: #333333;
$secondary-color: #7E8AA2;
$accent-color: #EEE;

// Fonts
$primary-font: 'Lato', sans-serif;
$secondary-font: 'Droid Serif', serif;

body {
  font-family: $secondary-font;
}

.container, .jumbotron .container {
    max-width: 700px;
}

.jumbotron {
  background-color: $background-color;
  margin-bottom: 0;
  font-family: $primary-font;
}

article:first-of-type {
    border-top: 0 solid $accent-color;
}
article:last-of-type {
    border-bottom: 0 solid $accent-color;
}
article {
    border-bottom: 1px solid $accent-color;
    border-top: 1px solid $accent-color;
    clear: both;
    width: 100%;
    display: inline-block;
    margin: 0;
    padding-bottom: 1em;
    padding-top: 1em;
    font-size: 16px;
}

.h1, h1 {
  font-family: $secondary-font;
}

.h2, h2 {
    font-size: 30px;
    font-family: $primary-font;
    margin-top: 0;
}

a {
  color: $secondary-color;
}

.img-thumbnail {
  float: right;
  max-width: 100px;
  padding: 0;
  border-radius: 0;
  border: none;
}

              
            
!

JS

              
                
              
            
!
999px

Console