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


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


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.


                <h2>Responsive Table with Tablesaw</h2>

<div class="container">
  <div class="row">
    <div class="col-xs-12">
      <table summary="This table shows how to create responsive tables using Tablesaw's functionality" class="table table-bordered table-hover tablesaw tablesaw-stack" data-tablesaw-mode="stack">
        <caption class="text-center">An example of a responsive table based on <a href="" target="_blank"> Tablesaw</a>:</caption>
            <th>Median Age</th>
            <th>Area (Km²)</th>
            <td>Spanish (official), English, Italian, German, French</td>
            <td>English 79%, native and other languages</td>
            <td>Greek 99% (official), English, French</td>
            <td>Luxermbourgish (national) French, German (both administrative)</td>
            <td>Russian, others</td>
            <td>Swedish, small Sami- and Finnish-speaking minorities</td>
            <td colspan="5">Data retrieved from <a href="" target="_blank">infoplease</a> and <a href="" target="_blank">worldometers</a>.</td>

<p class="p">Demo by George Martsoukos. <a href="" target="_blank">See article</a>.</p>


                h2 {
  text-align: center;
  padding-top: 20px 0;

.table-bordered {
  border: 1px solid #ddd !important;

table caption {
	padding: .5em 0;

table tfoot tr td {
  text-align: center !important;

@media (max-width: 39.9375em) {
  .tablesaw-stack tbody tr:not(:last-child) {
    border-bottom: 2px solid #0B0B0D;

.p {
  text-align: center;
  padding-top: 140px;
  font-size: 14px;


                $(window).on('load resize', function () {
  if ($(this).width() < 640) {
    $('table tfoot').hide();
  } else {
    $('table tfoot').show();

// See: