Pen Settings



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


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


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.


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.


                 <!DOCTYPE html>
<html lang="en">
  <title>Bootstrap Sandbox</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="">
  <script src=""></script>
  <script src=""></script>
  <nav class="navbar navbar-inverse">
  <div class="container-fluid">
    <div class="navbar-header">
      <a class="navbar-brand" href="#">Julie's Sandbox</a>
    <ul class="nav navbar-nav">
      <li class="active"><a href="#">Home</a></li>
      <li class="dropdown">
        <a class="dropdown-toggle" data-toggle="dropdown" href="#">Page 1
        <span class="caret"></span></a>
        <ul class="dropdown-menu">
          <li><a href="#">Page 1-1</a></li>
          <li><a href="#">Page 1-2</a></li>
          <li><a href="#">Page 1-3</a></li>
      <li><a href="#">Page 2</a></li>
      <li><a href="#">Page 3</a></li>
    <ul class="nav navbar-nav navbar-right">
      <li><a href="#"><span class="glyphicon glyphicon-user"></span> Sign Up</a></li>
      <li><a href="#"><span class="glyphicon glyphicon-log-in"></span> Login</a></li>
    <form class="navbar-form navbar-right" action="/action_page.php">
      <div class="form-group">
        <input type="text" class="form-control" placeholder="Search">
      <button type="submit" class="btn btn-default">Submit</button>

<div class="container-fluid">
  <h1>Bootstrap is not that messy</h1>
  <div class="row">
 <div class="col-xs-4 col-md-4 col-lg-4">
  <button class="btn btn-block btn-success">Button 1</button>
   <p class="text-muted">Muted paragraph with <span class="text-info">information text within a <code>span</code> element</span></p>
   <p>Another paragraph <span class="txt-link">very</span> interesting indeed.</p>
 <div class="col-xs-4 col-md-4 col-lg-4 well">
  <button class="btn btn-default">Button 2</button>
   <p class="text-warning bg-warning">WARNING text and background-color</p>
    <img src="" class="img-thumbnail img-responsive" alt="Cinque Terre">
     <figcaption>One of the villages from up a hill</figcaption>
 <div class="col-xs-4 col-md-4 col-lg-4">
   <h2>Heading 2 <small>and <code>small</code> subheading</small></h2>
  <button>Button 3</button>
   <div class="alert alert-danger alert-dismissible fade in">
  <a href="#" class="close" data-dismiss="alert" aria-label="close">&times;</a>
     <strong>Alert!</strong> Do not dismiss <code>div</code>!