123

Pen Settings

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <div class="container">
  <div class="row">
    <div class="col-sm-3">
      <div class="well">
        <h2 class="h6"><strong>SOME FAVORITES</strong></h2>
        <li>Celery Root</li>
        <li>Spagheti Squash</li>
        <li>Killer Mushrooms</li>
        <hr />
        <input type="text" class="form-control" id="search">
        <button type="button" class="btn btn-primary">Search Recipes</button>
      </div><!-- end of well-->
    </div><!-- end of col-3-->
    <div class="col-sm-9">
      <div class="alert alert-danger" role="alert" aria-label="Close"><strong>Uh oh!</strong> Have you had your daily dose of veggies today??
      <button type="button" class="close" data-dismiss="alert" aria-label="Close">
        <span aria-hidden="true">&times;</span>
      </button>
      </div><!-- end of alert-->
      <h1><strong>Wild &amp; Wacky Vegetables</strong></h1>
      <blockquote>
        <p>The beet is the most intense of vegetables. The radish, admittedly, is more feverish, but the fire of radish is a cold fire, the fire of discontent not of passion. Tomatoes are lustly enough, yet there runs through tomatoes an undercurrent of frivolity. Beets are deadly serious.</p>
        <footer>Tom Robbins</footer>
      </blockquote>
      <h2>Some Diseases</h2>
        <table class="table table-striped table-bordered twocol-table">
           <thead>
            <tr>
              <th>Veggie</th>
              <th>Disease</th>
            </tr>
           </thead>
           <tbody>
             <tr>
              <td>Beets</td>
              <td>Beeturia</td>
             </tr>
             <tr>
              <td>Carrots</td>
              <td>Carotenosis</td>
             </tr>
          </tbody>
        </table>
      <img src="https://upload.wikimedia.org/wikipedia/commons/2/21/Beets-Bundle.jpg" alt="..." class="img-thumbnail" width="20%">
       <img src="https://culturedecanted.files.wordpress.com/2014/06/babywild.jpg?w=650&h=226" alt="..." class="img-thumbnail" width="38%">
      <div class="row">
        <div class="col-sm-3">
          <img src="https://upload.wikimedia.org/wikipedia/commons/2/21/Beets-Bundle.jpg" alt="..." class="img-thumbnail img-responsive">
        </div><!--end of col4-->
        <div class="col-sm-3">
          <img src="https://upload.wikimedia.org/wikipedia/commons/2/21/Beets-Bundle.jpg" alt="..." class="img-thumbnail img-responsive">
        </div><!--end of col4-->
        <div class="col-sm-3">
          <img src="https://upload.wikimedia.org/wikipedia/commons/2/21/Beets-Bundle.jpg" alt="..." class="img-thumbnail img-responsive">
        </div><!--end of col4-->
        <div class="col-sm-3">
          <img src="https://upload.wikimedia.org/wikipedia/commons/2/21/Beets-Bundle.jpg" alt="..." class="img-thumbnail img-responsive">
        </div><!--end of col4-->
      </div><!--end of the image row-->
      <h2>Really Informative Info</h2>
      <p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ipsum quod dicta quibusdam molestiae natus eos fugiat ducimus magni aspernatur voluptates, placeat iure sed recusandae, fuga assumenda cupiditate laudantium, numquam iste.</p>
      <p>Aut harum fugit vero expedita, quasi dignissimos unde, dolorum atque reiciendis, ut voluptas. Vero maiores inventore optio vel adipisci suscipit fuga sint, eum possimus sunt, quidem, veritatis voluptate odio iste?</p>
    </div><!-- end of col-9-->
  </div><!-- end of row-->
</div><!-- end of container-->
            
          
!
            
              body{
  padding:10px;
  font-family: 'Open Sans', sans-serif;
}

.h6{
  color:#aaa;
}

img{
  margin-right:20px;
}

.well li{
  list-style-type: none;
  margin-bottom:5px;
  color:#3498DB;
}

.well hr{
  border: 0;
  height: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.alert-danger{
  color:#c0392b;
}

.btn-primary{
  background: -webkit-linear-gradient(top, #21a6ff, #006bad);
  background: -moz-linear-gradient(top, #21a6ff, #006bad);
  background: -ms-linear-gradient(top, #21a6ff, #006bad);
  background: -o-linear-gradient(top, #21a6ff, #006bad);
  background: linear-gradient(to bottom, #21a6ff, #006bad);
  margin:0 0 20px 0;
}

.twocol-table th:first-child{
  width:50%;
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console