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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

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

HTML

              
                
<table class="table table-zebra table-hover">
      <thead>
      <tr>
         <th>Buyer</th>
         <th>Seller</th>
         <th>Date</th>
      </tr>
      </thead>
      <tfoot>
    <tr>
      <td></td>
      <td>Sum</td>
      <td>$180</td>
    </tr>
  </tfoot>
      <tbody>
      <tr>
         <td>Bob Marley</td>
         <td>Ziggi Marley</td>
         <td>11/11/13</td>
      </tr>
      <tr>
         <td>Manu Chao</td>
         <td>Chao Chao</td>
         <td>11/11/13</td>
      </tr>
      <tr>
         <td>Rio Grande</td>
         <td>Monte Grande</td>
         <td>11/11/13</td>
      </tr>
      <tr>
         <td>Bob Marley</td>
         <td>Ziggi Marley</td>
         <td>11/11/13</td>
      </tr>
      <tr>
         <td>Bob Marley</td>
         <td>Ziggi Marley</td>
         <td>11/11/13</td>
      </tr>
      <tr>
         <td>Bob Marley</td>
         <td>Ziggi Marley</td>
         <td>11/11/13</td>
      </tr>
      </tbody>
   </table>

              
            
!

CSS

              
                @import url(https://fonts.googleapis.com/css?family=Droid+Serif);
.table {
	max-width:100%;
	background-color:transparent;
	border-collapse:collapse;
	border-spacing:0;
  font-family: 'Droid Serif', serif;
}
.table {
	width:100%;
	margin-bottom:20px;
}
.table th,.table td {
	padding:15px;
	line-height:20px;
	text-align:left;
	vertical-align:top;
}
.table th {
	font-weight:bold;
}
.table tfoot {
	font-weight:bold;
}
.table thead th {
	vertical-align:bottom;
}
.table tbody+tbody {
	border-top:2px solid #cccccc;
}
.table .table {
	background-color:#ffffff;
}
.table-slim th,.table-slim td {
	padding:4px 5px;
}
.table-border {
	border:1px solid #cccccc;
	border-collapse:separate;
	*border-collapse:collapse;
	border-left:0;
	-webkit-border-radius:0;
	-moz-border-radius:0;
	border-radius:0;
}
.table-border th,.table-border td {
	border:1px solid #cccccc;
}
.table-zebra tbody>tr:nth-child(odd)>td,.table-zebra tbody>tr:nth-child(odd)>th {
	background-color:#f4f4f4;
}
.table-hover tbody tr:hover>td,.table-hover tbody tr:hover>th {
	background-color:#ecf0f1;
	transition-property:background-color .2s linear 0s;
	-moz-transition:background-color .2s linear 0s;
	-webkit-transition:background-color .2s linear 0s;
	-o-transition: background-color .2s linear 0s;
}
              
            
!

JS

              
                
              
            
!
999px

Console