Pen Settings



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


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.


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.


                <span class="doff">
    <span class="doff__hat">๐ŸŽฉ</span>
    <span class="doff__smile">๐Ÿ˜Š</span>

<hgroup class="title-unit">
    <h1>Good day friend</h1>

<h3>My name is Gareth and I am a <strong>creative all-rounder</strong> based in Stafford, UK.</h3>

<p>I currently assemble things at <a href="">Valtech</a>. I have previously worked on countless Magento &amp; WordPress projects at <a href="" target="_blank">iWeb</a> as a Front-end designer. I occasionaly write about things <a href="" target="_blank">over here</a>. Although it doesn't happen too often so don't hold your breath, I have two children keeping me super busy.</p>

<!-- <div class="reverse-block">
    <div class="doff">๐Ÿคน</div>
<hgroup class="title-unit">
<h3>Currently Juggling</h3>
<p>I am currently working on:</p>

<ul class="u-list-indent">
    <li>๐Ÿ“ฃ A CSS Grid Talk</li>
    <li>๐Ÿ“ฃ A Pattern Library Talk</li>
    <li>๐Ÿ”” An Accessibility Blog Post</li>
</div> -->

<p>If you want to chat I suggest following me on <a title="Follow Me on Twitter" href="" target="_blank">Twitter</a> or <a href="" target="_blank">Git</a> me up. I can also meet you in person if you want a face to face chat? Stafford has some <a href="" title="Link to Ye Olde Rose & Crown Pub Website">great public houses</a>.</p>


.doff__smile {
    position: relative;

.doff {
    float: right;
    font-size: 2em;
    top: 0;
    &:hover {
        cursor: hand;

.doff__hat {
    position: absolute;
    z-index: 1;
    top: -.6em;
    transition: all .6s;
    transform-origin: 100% 100%;

body:hover {
    .doff__hat {
        top: -.8em;
        transform: rotate(25deg);