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

+ add another resource

JavaScript

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

Packages

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.

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

              
                <div class="table_container">
          <table class="boostrap4_table_head_dark_striped_rounded">
            <thead>
                <th>Name</th>
                <th>GitHub Stars</th>
                <th>Number Of Commits</th>
                <th>Language</th>
            </thead>
            <tbody>
                <tr>
                    <td>Express</td>
                    <td>58k</td>
                    <td>5740</td>
                    <td>JS</td>
                </tr>
                <tr>
                    <td>Django</td>
                    <td>65.7k</td>
                    <td>30980</td>
                    <td>Python</td>
                </tr>
                <tr>
                    <td>laravel</td>
                    <td>70.7k</td>
                    <td>6769</td>
                    <td>PHP</td>
                </tr>
                <tr>
                    <td>rails</td>
                    <td>51.3k</td>
                    <td>84438</td>
                    <td>Ruby</td>
                </tr>
            </tbody>
        </table>
</div>
              
            
!

CSS

              
                
table.boostrap4_table_head_dark_striped_rounded {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    box-sizing: border-box;
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
}

table.boostrap4_table_head_dark_striped_rounded thead th {
    font-size: 1rem;
    line-height: 1.5;
    border-collapse: collapse;
    box-sizing: border-box;
    text-align: inherit;
    padding: .75rem;
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    color: #fff;
    background-color: #212529;
    border-color: #32383e;
}

table.boostrap4_table_head_dark_striped_rounded td {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    text-align: left;
    border-collapse: collapse;
    box-sizing: border-box;
    padding: .75rem;
    vertical-align: top;
    box-shadow: 0 0 1px #212529;
}

table.boostrap4_table_head_dark_striped_rounded tbody tr:nth-of-type(odd) {
    background-color: rgba(0, 0, 0, .05);
}

table.boostrap4_table_head_dark_striped_rounded th:first-of-type {
    border-top-left-radius: 10px;
}

table.boostrap4_table_head_dark_striped_rounded th:last-of-type {
    border-top-right-radius: 10px;
}

table.boostrap4_table_head_dark_striped_rounded tr:last-of-type td:first-of-type {
    border-bottom-left-radius: 10px;
}

table.boostrap4_table_head_dark_striped_rounded tr:last-of-type td:last-of-type {
    border-bottom-right-radius: 10px;
}




/* ----------- Non table related styles */

.table_container {
    max-width: 80vw;
    margin-left: auto;
    margin-right: auto;
}

body {
    font-family: sans-serif;
}
              
            
!

JS

              
                
              
            
!
999px

Console