cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

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.

    <span class="doff">
        <span class="doff__hat">🎩</span>
        <span class="doff__smile">😊</span>
    Good Day Friend

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

<p>I currently work on <a href="https://www.magentocommerce.com/certification/directory/dev/46039/" target="_blank">Magento Front-end</a> projects at iWeb with <a href="https://www.iweb.co.uk/who-we-are/" target="_blank">these</a> lovely folk. Together we assemble and tune websites using the finest quality HTML, CSS and JavaScript.</p>

<p>I will be occasionaly writing about things <a href="https://gazjoy.github.io/" target="_blank">here</a>. Although don't hold your breath, I have two children keeping me super busy.</p>

<p>I am currently learning <a href="http://devdocs.magento.com/guides/v2.1/frontend-dev-guide/bk-frontend-dev-guide.html">Magento 2</a> and <a href="https://github.com/getchopchop/chopchop">Chopping</a>.</p>

<p>Follow 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.</p>
.doff__smile {
    position: relative;

.doff {
    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);

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.


Loading ..................