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 ng-cloak="" class="tabsdemoDynamicHeight" ng-app="MyApp">
    <md-content>
        <md-tabs md-no-ink md-dynamic-height="" md-border-bottom="">
            <md-tab label="One">

                    <md-tabs md-dynamic-height="" md-border-bottom="">
                        <md-tab label="secondary tab one">
                            <md-content class="md-padding">
                                <p>Secondary Tab One</p>
                            </md-content>
                        </md-tab>
                        <md-tab label="secondary tab two">
                            <md-content class="md-padding">
                                <p>Secondary Tab Two</p>
                            </md-content>
                        </md-tab>
                        <md-tab label="secondary tab three">
                            <md-content class="md-padding">
                                <p>Secondary Tab Three</p>
                            </md-content>
                        </md-tab>
                        <md-tab label="secondary tab four">
                            <md-content class="md-padding">
                                <p>Secondary Tab Four</p>
                            </md-content>
                        </md-tab>
                        <md-tab label="secondary tab five">
                            <md-content class="md-padding">
                                <p>Secondary Tab Five</p>
                            </md-content>
                        </md-tab>
                        <md-tab label="secondary tab six">
                            <md-content class="md-padding">
                                <p>Secondary Tab Six</p>
                            </md-content>
                        </md-tab>
                        <md-tab label="secondary tab three">
                            <md-content class="md-padding">
                                <p>Secondary Tab Seven</p>
                            </md-content>
                        </md-tab>
                        <md-tab label="secondary tab three">
                            <md-content class="md-padding">
                                <p>Secondary Tab Eight</p>
                            </md-content>
                        </md-tab>
                    </md-tabs>

            </md-tab>
            <md-tab label="Two">

                    <md-tabs md-dynamic-height="" md-border-bottom="">
                        <md-tab label="secondary tab one">
                            <md-content class="md-padding">
                                <p>Secondary Tab One</p>
                            </md-content>
                        </md-tab>
                        <md-tab label="secondary tab two">
                            <md-content class="md-padding">
                                <p>Secondary Tab Two</p>
                            </md-content>
                        </md-tab>
                        <md-tab label="secondary tab three">
                            <md-content class="md-padding">
                                <p>Secondary Tab Three</p>
                            </md-content>
                        </md-tab>
                        <md-tab label="secondary tab four">
                            <md-content class="md-padding">
                                <p>Secondary Tab Four</p>
                            </md-content>
                        </md-tab>
                        <md-tab label="secondary tab five">
                            <md-content class="md-padding">
                                <p>Secondary Tab Five</p>
                            </md-content>
                        </md-tab>
                        <md-tab label="secondary tab six">
                            <md-content class="md-padding">
                                <p>Secondary Tab Six</p>
                            </md-content>
                        </md-tab>
                        <md-tab label="secondary tab three">
                            <md-content class="md-padding">
                                <p>Secondary Tab Seven</p>
                            </md-content>
                        </md-tab>
                        <md-tab label="secondary tab three">
                            <md-content class="md-padding">
                                <p>Secondary Tab Eight</p>
                            </md-content>
                        </md-tab>
                    </md-tabs>

            </md-tab>
            <md-tab label="Three">

                <md-tabs md-dynamic-height="" md-border-bottom="">
                    <md-tab label="secondary tab one">
                        <md-content class="md-padding">
                            <p>Secondary Tab One</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab two">
                        <md-content class="md-padding">
                            <p>Secondary Tab Two</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab three">
                        <md-content class="md-padding">
                            <p>Secondary Tab Three</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab four">
                        <md-content class="md-padding">
                            <p>Secondary Tab Four</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab five">
                        <md-content class="md-padding">
                            <p>Secondary Tab Five</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab six">
                        <md-content class="md-padding">
                            <p>Secondary Tab Six</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab three">
                        <md-content class="md-padding">
                            <p>Secondary Tab Seven</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab three">
                        <md-content class="md-padding">
                            <p>Secondary Tab Eight</p>
                        </md-content>
                    </md-tab>
                </md-tabs>

            </md-tab>
            <md-tab label="Four">

                <md-tabs md-dynamic-height="" md-border-bottom="">
                    <md-tab label="secondary tab one">
                        <md-content class="md-padding">
                            <p>Secondary Tab One</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab two">
                        <md-content class="md-padding">
                            <p>Secondary Tab Two</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab three">
                        <md-content class="md-padding">
                            <p>Secondary Tab Three</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab four">
                        <md-content class="md-padding">
                            <p>Secondary Tab Four</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab five">
                        <md-content class="md-padding">
                            <p>Secondary Tab Five</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab six">
                        <md-content class="md-padding">
                            <p>Secondary Tab Six</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab three">
                        <md-content class="md-padding">
                            <p>Secondary Tab Seven</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab three">
                        <md-content class="md-padding">
                            <p>Secondary Tab Eight</p>
                        </md-content>
                    </md-tab>
                </md-tabs>

            </md-tab>
            <md-tab label="Five">

                <md-tabs md-dynamic-height="" md-border-bottom="">
                    <md-tab label="secondary tab one">
                        <md-content class="md-padding">
                            <p>Secondary Tab One</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab two">
                        <md-content class="md-padding">
                            <p>Secondary Tab Two</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab three">
                        <md-content class="md-padding">
                            <p>Secondary Tab Three</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab four">
                        <md-content class="md-padding">
                            <p>Secondary Tab Four</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab five">
                        <md-content class="md-padding">
                            <p>Secondary Tab Five</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab six">
                        <md-content class="md-padding">
                            <p>Secondary Tab Six</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab three">
                        <md-content class="md-padding">
                            <p>Secondary Tab Seven</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab three">
                        <md-content class="md-padding">
                            <p>Secondary Tab Eight</p>
                        </md-content>
                    </md-tab>
                </md-tabs>

            </md-tab>
            <md-tab label="Six">

                <md-tabs md-dynamic-height="" md-border-bottom="">
                    <md-tab label="secondary tab one">
                        <md-content class="md-padding">
                            <p>Secondary Tab One</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab two">
                        <md-content class="md-padding">
                            <p>Secondary Tab Two</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab three">
                        <md-content class="md-padding">
                            <p>Secondary Tab Three</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab four">
                        <md-content class="md-padding">
                            <p>Secondary Tab Four</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab five">
                        <md-content class="md-padding">
                            <p>Secondary Tab Five</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab six">
                        <md-content class="md-padding">
                            <p>Secondary Tab Six</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab three">
                        <md-content class="md-padding">
                            <p>Secondary Tab Seven</p>
                        </md-content>
                    </md-tab>
                    <md-tab label="secondary tab three">
                        <md-content class="md-padding">
                            <p>Secondary Tab Eight</p>
                        </md-content>
                    </md-tab>
                </md-tabs>

            </md-tab>
            <md-tab label="Seven">
                <md-content class="md-padding">
                    <p>Tab Three</p>
                    <p>Integer turpis erat, porttitor vitae mi faucibus, laoreet interdum tellus. Curabitur posuere molestie dictum. Morbi eget congue risus, quis rhoncus quam. Suspendisse vitae hendrerit erat, at posuere mi. Cras eu fermentum nunc. Sed id ante eu orci commodo volutpat non ac est. Praesent ligula diam, congue eu enim scelerisque, finibus commodo lectus.</p>
                </md-content>
            </md-tab>
            <md-tab label="Eight">
                <md-content class="md-padding">
                    <p>Tab Three</p>
                    <p>Integer turpis erat, porttitor vitae mi faucibus, laoreet interdum tellus. Curabitur posuere molestie dictum. Morbi eget congue risus, quis rhoncus quam. Suspendisse vitae hendrerit erat, at posuere mi. Cras eu fermentum nunc. Sed id ante eu orci commodo volutpat non ac est. Praesent ligula diam, congue eu enim scelerisque, finibus commodo lectus.</p>
                </md-content>
            </md-tab>
        </md-tabs>
    </md-content>
</div>

              
            
!

CSS

              
                HTMLJSCSS
        .tabsdemoDynamicHeight md-content {
            background-color: transparent !important; }
        .tabsdemoDynamicHeight md-content md-tabs {
            background: #f6f6f6;
            border: 1px solid #e1e1e1; }
        .tabsdemoDynamicHeight md-content md-tabs md-tabs-wrapper {
            background: white; }
        .tabsdemoDynamicHeight md-content h1:first-child {
            margin-top: 0; }
        md-tabs md-tabs md-ink-bar{
            display: none;
        }
        md-tabs md-ink-bar{
            background: #0089D4;;
        }
        .tabsdemoDynamicHeight md-content md-tabs {
            border: none;
        }
        .md-active.md-active>.ng-scope {
            color: #0089D4;
        }
        .md-active>.ng-scope{
            color: #0089D4;
        }
        *{
            font-family: "Open Sans";
            text-transform: none;
        }
        /*.md-tab{*/
            /*color: #4A4A4A;*/
            /*font-size: 1.6rem;*/
        /*}*/
        md-tabs .ng-scope{
            font-size: 1.6rem;
            color: #4A4A4A;
        }
        md-tabs md-tabs .ng-scope{
            font-size: 1.2rem;
            color: #67707A;
        }
              
            
!

JS

              
                angular.module('MyApp',['ngMaterial', 'ngMessages', 'material.svgAssetsCache']);
              
            
!
999px

Console