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 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.

Quick-add: + add another resource

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.

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.

            
              <p><i class="sh-home"><span class="sr-only" aria-hidden="true">If you're using Bootstrap3, the <code>sr-only</code> class should hide this alternative text</span></i></p>
            
          
!
            
              .sh-home {
    background: #333;
    display: inline-block;
    height: 60px;
    margin: 60px 15px 0;
    position: relative;
    vertical-align: middle;
    width: 90px;
}
    /* The roof */
    .sh-home:before {
        border-bottom: solid 60px #333;
        border-left: solid transparent 60px;
        border-right: solid transparent 60px;
        content: "";
        left: -15px;
        position: absolute;
        top: -60px;
    }
    /* The front door */
    .sh-home:after {
        /* This needs to be the same colour as the background */
        background: #fff;
        bottom: 0;
        content: "";
        left: 30px;
        height: 30px;
        position: absolute;
        width: 30px;
    }
    /* Shut the front door! */
    .sh-home:hover:after {
        transition: all .2s ease;
        width: 0;
    }

/* This is part of Bootstrap 3. If you're already using it, you can delete this rule. */
.sr-only {
    border: 0;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
            
          
!
999px
Loading ..................

Console