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

+ 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.


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.


  h1 Bootstrap 3.1 - Vertical align into a Grid v2
      / col 1
          img.img-responsive src=""
        h4 Vertical Align Top
        p Candy canes jelly-o icing bonbon marzipan chocolate carrot cake jelly. Candy canes soufflé jelly chupa chups cupcake cake.

      / col 2
        h4 Vertical Middle (default)

            p Jelly-o dragée ice cream brownie. Candy oat cake tiramisu donut chocolate cake bonbon. Cake toffee lollipop sweet roll fruitcake danish tart tiramisu candy canes.

            img.img-responsive src=""

      / col 3
        h4 Vertical Align Bottom
        p Tart gummi bears wafer jelly. Cheesecake chocolate cake candy pudding pastry toffee cookie chupa chups biscuit.



  MM Grid as table (Twitter Bootstrap)
  Manu Morante @unavezfui
  Last update: October 08, 2014

  Use ".row-table-xs" in ".row" when you need cols in xsmall version (.col-sx-...)

  <div class="row row-table row-table-xs">
    <div class="col-xs-6"> ...  </div>
    <div class="col-xs-6"> ... </div>

// Bootstrap: Small screen / tablet
$screen-sm: 768px;

@mixin row-table {
  display: table !important;

  > [class*="col-"]{
    display: table-cell!important;
    vertical-align: middle;
    &.td-top{ vertical-align: top!important; }
    &.td-bottom { vertical-align: bottom!important; }
.row-table.row-table-xs {
  @include row-table;
@media (min-width: $screen-sm) {
  .row-table {
    @include row-table;

// =======================
// Pen decoration ;-)
// =======================
  margin: 4em 0;
  background: #000 url( top center;
  background-size: cover;
  color: white;
  font-family: 'Raleway', sans-serif;

  font-family: 'Nunito', sans-serif;

  background: rgba(white, .9);
  color: black;
  margin-bottom: 1em;
  padding: 2em;
  box-shadow: 5px 5px 10px rgba(#000, .2);
  border-radius: 8px;
  img {
    border-radius: 5px;
    box-shadow: 2px 2px 5px rgba(#000, .2);