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

              
                <h1>The shocking downfall of Keith Richards’ muse</h1>
<p>Pallenberg’s luck ran out in South Salem but Richards never forgot what she had done for him. Throughout the rest of her life, he reportedly supported her financially. For a stretch, Pallenberg resided in an apartment that Richards — who has been married to model Patti Hansen since 1983 — maintained above the old Tower Records store on East Fourth Street and Broadway. She stayed at his English estate and at homes he provided in France and Jamaica.</p>
<blockquote><p>There was blood all over the place. For Pallenberg to let a kid lie next to her in the bed and fool around with guns is pretty weird. She had authority over him. <cite>Victor Bockris</cite></p></blockquote>
<p>Bockris said that she spent many a Christmas with her ex and his new family, including Hansen and their daughters Theodora and Alexandra, in Connecticut.</p>
<p>By 2000, Pallenberg had finally cleaned up and reclaimed her life. She earned a degree in fashion design and textiles, appeared in movies and on TV, walked a fashion-show runway for designer Pam Hogg and buddied up with Kate Moss.</p>
<div>Source: <a href="https://nypost.com/2017/06/17/she-was-the-muse-for-the-rolling-stones/">https://nypost.com/2017/06/17/she-was-the-muse-for-the-rolling-stones/</a></div>
              
            
!

CSS

              
                blockquote {
    /* Nature */
    margin: 0 0 1em 1em;
    /* Layout */
    float: right;
    max-width: 50%;
    text-align: right;
    /* Type */
    font-size: 1.25em;
    
    p {
        /* Nature */
        display: inline;
        padding: .5em;
        /* Color */
        background-color: yellow;
        /* Type */
        line-height: 1.75;
        /* Graphics */
        box-shadow: 1em 0 0 yellow, -1em 0 0 yellow;
    }
}

body {
    /* Type */
    font-family: sans-serif;
    line-height: 1.6;
}
              
            
!

JS

              
                
              
            
!
999px

Console