Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs 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 its URL and the proper URL extension.

+ 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

Auto Save

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

              
                 <main>
        <section>
            <div class="nav">
                <h1>LambdaTest</h1>
            </div>

            <div class="textOne">
                <p>Support for filtering the dashboards by a particular time and date selection. This will help you get more precise
                results at the required timestamp.</p>
            </div>

            <div class="textTwo">
                <p>Ability to edit the Dashboard Layout that helps you arrange your widgets according to the alignment of your choice.</p>
            </div>

            <div class="textThree">
                <p>New feature to copy or clone the existing dashboard with all the widgets and configurations, the same as the source
                dashboard, to explore more detailed insights by adding more widgets or filters without disturbing your current
                dashboard.</p>
            </div>

            <div class="btn">
                <a href="#">Learn More</a>
            </div>
        </section>
    </main>
              
            
!

CSS

              
                 *, *::after, *::before{
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        scroll-behavior: smooth;
    }

main {
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
    }

section {
        position: relative;
        background-color: hsl(0, 0%, 91%);
        width: 50%;
        height: 300px;
        overflow-y: scroll;
    }

.nav {
        position: sticky;
        inset: 0px;
        width: 100%;
        background-color: #0ebac5;
        color: hsl(0, 0%, 100%);
        padding: 0.5em;
        text-align: center;
        box-shadow: 2px 6px 8px 0.5px rgba(0, 0, 0, .4);
        font-family: Georgia, 'Times New Roman';
    }

    p {
        color: #504f4f;
        font-size: 20px;
        font-family: 'Lucida Sans', 'Lucida Sans Regular';
    }

    .textOne, .textTwo, .textThree  {
        background-color: hsl(0, 0%, 100%);
        margin: 2em;
        box-shadow: 6px 6px 6px 0px rgba(0, 0, 0, .4);
        padding: 1em;
        border-radius: 4px;
    }

.btn {
        display: flex;
        justify-content: center;

        position: sticky;
        inset: 0px;
        margin: 1em;
    }

.btn a {
        padding: 1em 2em;
        text-decoration: none;
        background-color: #0ebac5;
        color: hsl(0, 0%, 100%);
        font-family: calibri;
        font-weight: bold;
        margin-bottom: 2em;
        border-radius: 5px;
    }

.btn a:hover {
       opacity: 0.8;
}
              
            
!

JS

              
                
              
            
!
999px

Console