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-fluid">
  
  <div class="jumbotron">
    
    <div class="text-center">
      
      <h1>A Tribute To Cookie</h1>
      
      <h2>The cutest dog on the planet!</h2>
      
      <img src="http://i65.tinypic.com/155mjj9.jpg" class="img-responsive img-thumbnail" alt="A cute dog named Cookie">
      
      <caption>Cookie playing on the logs.</caption>
      
    </div><!--/.text-center-->
    
    <h3>A little story</h3>
      
    <p>We brought Cookie into our home while our other dog named <strong>Boke</strong> was sick to cheer him up. After 6 months Boke passed away, and left Cookie missing her big brother.</p>
      
    <p>Cookie has a playful and friendly character. She's not afraid of other dogs and likes to play with them. She also likes to travel, she's been to France once and to Turkey a couple of times, you could say she's becoming quite a traveler at her young age.</p>
    
    <div class="row">
      
      <div class="col-md-6 text-center">
        
        <h3><span class="glyphicon glyphicon-thumbs-up" aria-hidden="true"></span> Cookie likes:</h3>

        <ul>
          
          <li>Treats</li>
          
          <li>Chicken</li>
          
          <li>Playing fetch</li>
          
        </ul>
        
      </div><!--/.col-md-6-->
      
      <div class="col-md-6 text-center">
        
        <h3><span class="glyphicon glyphicon-thumbs-down" aria-hidden="true"></span> Cookie dislikes:</h3>

        <ul>
          
          <li>Thunderstorms</li>
          
          <li>Sneezing</li>
          
          <li>Being alone</li>
          
        </ul>
            
      </div><!--/.col-md-6-->
      
    </div><!--/.row-->
    
    <div class="row">
      
      <div class="col-md-5">
        <p>Cookie has a cute bark, sometimes it's a whole story she likes to tell. In this video she likes to go downstairs but she's afraid of the stairs so I have to pick her up.</p>
      </div><!--/.col-md-5-->
      
      <div class="col-md-7">
        <iframe width="560" height="315" src="https://www.youtube.com/embed/6B0zQGRDeDQ" frameborder="0" allowfullscreen></iframe>
        
      </div><!--./col-md-7-->
      
    </div><!--/.row-->
    
    <div class="row">
      
      <div class="col-md-4">
        
        <img src="http://i65.tinypic.com/2ll1zsw.jpg" class="img-responsive img-thumbnail" alt="Cookie with a bowtie" width="300">
        
      </div><!--/.col-md-4-->
          
      <div class="col-md-4">
        
        <img src="http://i66.tinypic.com/sdgqhc.jpg" class="img-responsive img-thumbnail" alt="Cookie looking cute" width="300">
        
      </div><!--/.col-md-4-->
      
      <div class="col-md-4">
        
        <img src="http://i68.tinypic.com/e9j3ae.jpg" class="img-responsive img-thumbnail" alt="Cookie looking cute" width="300">
        
      </div><!--./col-md-4-->
      
    </div><!--/.row-->
    
    <p><span class="glyphicon glyphicon-info-sign" aria-hidden="true"></span> More about <a href="https://en.wikipedia.org/wiki/Dog" target="_blank">dogs</a> in particular.</p>
    
  </div><!--/.jumbotron-->
  
  <p class="text-center">Made by <a href="http://deindehouwer.be" target="_blank">Dein</a> <span class="glyphicon glyphicon-sunglasses sunglass" aria-hidden="true"></span></p>
  
</div><!--/.container-fluid--> 

              
            
!

CSS

              
                body {
  margin-top: 60px;
}

div {
  margin-bottom: 20px;
}

.sunglass {
  color: grey;
}
              
            
!

JS

              
                
              
            
!
999px

Console