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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                <div class="container text-center">
  <div class="row">
    <div class="col-sm-12"><img class="img-responsive" id="topPic" alt="image of original Super Mario" src="http://img1.rnkr-static.com/list_img_v2/5509/2205509/full/-things-you-didn-t-know-about-super-mario-u1.jpg"></div>
  </div>
  
  <h1>Super Mario Fan Page</h1>
  
  <p>You can't help but love this dude! I have fond memories of pretty much every Super Mario game I've played.  This would probably change every time I had to try, but below are my top three Super Mario games:</p>
  
  <div class="row">
    <div class="col-md-5 offset-md-1 img-thumbnail"> 
      <img class="img-responsive gamePic col-md-offset-1 gamePic" alt="image of original Super Mario" src="https://upload.wikimedia.org/wikipedia/en/5/50/NES_Super_Mario_Bros.png">Super Mario Bros.
    </div>
    
    <div class="col-md-5 img-thumbnail"><img src="http://themushroomkingdom.net/images/smg2/smg2_rock_mario_1280.jpg" class="img-responsive gamePic">Super Mario Galazy 2
    </div>
  </div>
    
  <div class="row">
    <div class="col-md-10 offset-md-1 img-thumbnail"><img class="img-responsive gamePic" src="https://c.slashgear.com/wp-content/uploads/2017/03/Mario-Kart-8-bowser-980x420.jpg">Mario Kart 8
    </div>
  </div>
  
  <p>For more Mario wonderfulness please see the <a href="http://mario.nintendo.com" target="_blank">Super Mario Official site</a>.</p>
  
</div>
  

              
            
!

CSS

              
                #topPic{
  height: 150px;
}

img{
  width: 100%;
}

.gamePic{
  height: 250px;
}
              
            
!

JS

              
                
              
            
!
999px

Console