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.

              @import "compass/css3";

$red: #cb3837; // logo red

body {
    background: #fff;
    margin: 2em;

.npm {    
    display: block;
    font-size: 1em; // controls the size
    text-indent: -9999px; // bye bye text
    &:after {
        content: '';
        display: block;
        height: 1em;
        width: 1em;

            1em 0em $red,
            1em 1em $red,
            1em 2em $red,
            1em 3em $red,
            1em 4em $red,
            1em 5em $red,

            2em 0em $red,
            2em 5em $red,

            3em 0em $red,
            3em 5em $red,

            4em 0em $red,
            4em 2em $red,
            4em 3em $red,
            4em 4em $red,
            4em 5em $red,

            5em 0em $red,
            5em 5em $red,

            6em 0em $red,
            6em 1em $red,
            6em 2em $red,
            6em 3em $red,
            6em 4em $red,
            6em 5em $red,
            6em 6em $red,

            7em 0em $red,
            7em 6em $red,

            8em 0em $red,
            8em 6em $red,

            9em 0em $red,
            9em 2em $red,
            9em 3em $red,
            9em 5em $red,
            9em 6em $red,

            10em 0em $red,
            10em 5em $red,

            11em 0em $red,
            11em 1em $red,
            11em 2em $red,
            11em 3em $red,
            11em 4em $red,
            11em 5em $red,

            12em 0em $red,
            12em 5em $red,

            13em 0em $red,
            13em 5em $red,

            14em 0em $red,
            14em 2em $red,
            14em 3em $red,
            14em 4em $red,
            14em 5em $red,

            15em 0em $red,
            15em 5em $red,

            16em 0em $red,
            16em 2em $red,
            16em 3em $red,
            16em 4em $red,
            16em 5em $red,

            17em 0em $red,
            17em 5em $red,

            18em 0em $red,
            18em 1em $red,
            18em 2em $red,
            18em 3em $red,
            18em 4em $red,
            18em 5em $red;
              // A Random Saturday CSS Challenge
// https://css-tricks.com/forums/discussion/24808/a-random-saturday-css-challenge

// Original logo npmjs.org/

// Easy mode FTW. :)
// scottnix.com
Loading ..................