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

              
                <div class="row small-up-1 medium-up-2 large-up-4" id="stat-cards" data-equalizer="cardstats" data-equalizer="cardgraph" data-equalizer="cardheader">
    <div class="column">
        <div class="card">
            <div class="card-divider">
                <div class="text-center" data-equalizer-watch="cardheader">Top Stuff</div>
            </div>
            <div class="card-section" style="background-color:red" data-equalizer-watch="cardgraph">
                <p class="text-center">ChartJS Donut Here</p>
            </div>
            <div class="card-section" style="background-color:yellow" data-equalizer-watch="cardstats">
                <table class="card-table style="background-color:#f00">
                    <tbody>
                        <tr>
                            <td style="width:80%;"><i class="fa fa-square";" aria-hidden="true" style="color:#00569c"></i> 123 - What this is and why it is in a longer definition</td>
                            <td style="width:20%;" class="secondary-text text-right">43&#37;
                            </td>
                        </tr>
                        <tr>
                            <td><i class="fa fa-square" style="color:#f38a00;" aria-hidden="true"></i></i> Stuffy Stuff</td>
                            <td class="secondary-text text-right">27&#37;</td>
                        </tr>
                        <tr>
                            <td><i class="fa fa-square" style="color:#768591;" aria-hidden="true"></i> More Stuff</td>
                            <td class="secondary-text text-right">20&#37;
                            </td>
                        </tr>
                        <tr>
                            <td><i class="fa fa-square" style="color:#8eb046;" aria-hidden="true"></i> The Stuff</td>
                            <td class="secondary-text text-right">10&#37;</td>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
    <div class="column">
        <div class="card">
            <div class="card-divider">
                <div class="text-center" data-equalizer-watch="cardheader">Source</div>
            </div>
            <div class="card-section" style="background-color:red" data-equalizer-watch="cardgraph">
                <p class="text-center">WHY ChartJS Donut Here. Adding more text to work on auto-height.</p>
            </div>
            <div class="card-section" style="background-color:yellow" data-equalizer-watch="cardstats">
                <table class="card-table">
                    <tbody>
                        <tr>
                            <td style="width:80%;"><i class="fa fa-square" style="color:#00569c;" aria-hidden="true"></i> Positive</td>
                            <td style="width:20%;" class="secondary-text text-right">97&#37;
                            </td>
                        </tr>
                        <tr>
                            <td><i class="fa fa-square" style="color:#f38a00;" aria-hidden="true"></i> Negative</td>
                            <td class="secondary-text text-right">3&#37;</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
    <div class="column">
        <div class="card">
            <div class="card-divider">
                <div class="text-center" data-equalizer-watch="cardheader">Math</div>
            </div>
            <div class="card-section" style="background-color:red" data-equalizer-watch="cardgraph">
                <p class="text-center">ChartJS Donut Here</p>
            </div>
            <div class="card-section" style="background-color:yellow" data-equalizer-watch="cardstats">
                <table class="card-table">
                    <tbody>
                        <tr>
                            <td><i class="fa fa-square" style="color:#00569c;" aria-hidden="true"></i> Multiplication &#40;This is real math people&#41;</td>
                            <td class="secondary-text text-right">48&#37;
                            </td>
                        </tr>
                        <tr>
                            <td><i class="fa fa-square" style="color:#f38a00;" aria-hidden="true"></i> Subtraction &#40;3, 9&#41;</td>
                            <td class="secondary-text text-right">0&#37;</td>
                        </tr>
                        <tr>
                            <td><i class="fa fa-square" style="color:#768591;" aria-hidden="true"></i> Addition</td>
                            <td class="secondary-text text-right">52&#37;
                            </td>
                        </tr>
                        <tr>
                            <td><i class="fa fa-square" style="color:#8eb046;" aria-hidden="true"></i> Division</td>
                            <td class="secondary-text text-right">0&#37;</td>
                        </tr>
                        <tr>
                            <td><i class="fa fa-square" style="color:#00adef;" aria-hidden="true"></i> New Math &#40;Boo&#41;</td>
                            <td class="secondary-text text-right">0&#37;</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
    <div class="column">
        <div class="card">
            <div class="card-divider">
                <div class="text-center" data-equalizer-watch="cardheader">Make It Go Two Lines So We Can See It Equalize</div>
            </div>
            <div class="card-section" style="background-color:red" data-equalizer-watch="cardgraph">
                <p class="text-center">ChartJS Donut Here</p>
            </div>
            <div class="card-section" style="background-color:yellow" data-equalizer-watch="cardstats">
                <table class="card-table">
                    <tbody>
                        <tr>
                            <td><i class="fa fa-square" style="color:#00569c;" aria-hidden="true"></i> Plus</td>
                            <td class="secondary-text text-right">100&#37;
                            </td>
                        </tr>
                        <tr>
                            <td><i class="fa fa-square" style="color:#f38a00;" aria-hidden="true"></i> Minus</td>
                            <td class="secondary-text text-right">0&#37;</td>
                        </tr>
                        <tr>
                            <td><i class="fa fa-square" style="color:#768591;" aria-hidden="true"></i> Times</td>
                            <td class="secondary-text text-right">0&#37;
                            </td>
                        </tr>
                        <tr>
                            <td><i class="fa fa-square" style="color:#8eb046;" aria-hidden="true"></i> Divide</td>
                            <td class="secondary-text text-right">0&#37;</td>
                        </tr>
                        <tr>
                            <td><i class="fa fa-square" style="color:#00adef;" aria-hidden="true"></i> Equals</td>
                            <td class="secondary-text text-right">0&#37;</td>
                        </tr>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
              
            
!

CSS

              
                
              
            
!

JS

              
                $(document).foundation();


              
            
!
999px

Console