Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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">
  <button class="btn btn-danger mt-5" id="removeLink">Remove Bootstrap Stylesheet</button> &nbsp; 
  <button class="btn btn-danger mt-5" id="disabledLink">Disable Stylesheet</button>
  <h1 class="my-5">Bootstrap CSS</h1>
  <div class="row">
    <div class="col-md-6 mb-3">
      <div class="border p-4 shadow">
        <h3>Column 1</h3>
        <p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Voluptatem accusamus sit amet c maxime sit.</p>
        <a href="#" class="btn btn-success hvr-wobble-to-top-right">Read More</a>
      </div>
    </div>
    <div class="col-md-6 mb-3">
      <div class="border p-4 shadow">
        <h3>Column 2</h3>
        <p>Eius mollitia a magni laudantium sit. Quidem ratione sit amet cea voluptate! Eius, officia?</p>
        <a href="#" class="btn btn-primary hvr-sweep-to-bottom">Read More</a>
      </div>
    </div>
    <div class="col-md-6 mb-3">
      <div class="border p-4 shadow">
        <h3>Column 3</h3>
        <p>Magni, soluta voluptas. Asperiores distinctio quos numquam, minus iste recusandae earum nostrum.</p>
        <a href="#" class="btn btn-info hvr-radial-out">Read More</a>
      </div>
    </div>
    <div class="col-md-6 mb-3">
      <div class="border p-4 shadow">
        <h3>Column 4</h3>
        <p>Dolore, sint inventore. Ullam laboriosam nulla quos blanditiis, possimus dolores suscipit aliquid.</p>
        <a href="#" class="btn btn-success hvr-wobble-vertical">Read More</a>
      </div>
    </div>
  </div>
</div>
              
            
!

CSS

              
                body {
  font-family: sans-serif;
  margin: 20px;
}
.btn {
  display: inline-block;
  background-color: #333;
  color: #fff;
  padding: 10px;
  border-radius: 6px;
  text-decoration: none;
}
              
            
!

JS

              
                let removeLink = document.getElementById("removeLink"),
disabledLink = document.getElementById("disabledLink")   ;

removeLink.addEventListener('click', function(){
  for(let styleSheet of document.styleSheets){
     if(styleSheet.href.indexOf('bootstrap')>-1) styleSheet.ownerNode.remove();  
  }
})
disabledLink.addEventListener('click', function(){
  for(let styleSheet of document.styleSheets){
     if(styleSheet.href.indexOf('hover')>-1) styleSheet.disabled  = true;
  }
})
              
            
!
999px

Console