Pen Settings



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


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


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.


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.


        Undermine their pompous authority, reject their moral standards, make anarchy and disorder your trademarks. Cause as much chaos and disruption as possible but don't let them take you alive.
    <cite>Sid Vicious</cite>



                $font: 'Anton';
$font2: 'Cutive';
@import url('//{$font}');
@import url('//{$font2}');

body { 
    min-height: 100vh;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

// :first-child:first-letter makes it useful for several paragraph - only the first para gets the styling.
// 1. Makes it easier to position.
// 2. Zaps space to the right of the drop cap.  Arbitrarily large value.  Can also do this with a line-height of 0.
// 3. Positions the letter in relation to the paragraph
p:first-child:first-letter {
    float: left;
    font: 390px $font;
    line-height: 1; /* 1 */
    margin-right: -1000px; /* 2 */
    margin-left: -85px; /* 3 */
    margin-top: -110px; /* 3 */
    color: crimson;

blockquote {
    width: 100%;
    max-width: 420px; //🍁
    margin: 100px 0;    
    font: 22px/1.8 $font2;
    hyphens: auto;
    text-align: justify;
    flex-shrink: 0;

blockquote cite {
    float: right;
    font-size: 15px;