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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

โš ๏ธ This feature can only be used by logged in users.

Code Indentation


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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

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

<hgroup class="title-unit">
    <h1>Good day friend</h1>
    <p><i>Welcome to my web home</i></p>

<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="https://www.valtech.co.uk/">Valtech</a>. I have previously worked on countless Magento &amp; WordPress projects at <a href="https://www.iweb.co.uk/work/" target="_blank">iWeb</a> as a Front-end designer. I occasionaly write about things <a href="https://medium.com/@gazjoy" 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>

<p>If you want to chat I suggest following me on <a title="Follow Me on Twitter" href="https://twitter.com/gazjoy" target="_blank">Twitter</a> or <a href="https://github.com/gazjoy" 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="http://www.joulesbrewery.co.uk/pubs/pub_details.php?id=25" 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);
๐Ÿ•‘ One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.