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.

            
              <div class="bird"></div>
<div class="hand"></div>
            
          
!
            
              html {
    background: url("https://subtlepatterns.com/patterns/use_your_illusion.png");
}

.bird {
    transform: rotate(-15deg);
    margin: 2em auto;
    width: 17em;
    height: 12em;
    background:
        /* White */
        linear-gradient(#FFF,#FFF) 6em 1em,
        linear-gradient(#FFF,#FFF) 7em 1em,
        linear-gradient(#FFF,#FFF) 8em 1em,
        linear-gradient(#FFF,#FFF) 10em 1em,
        linear-gradient(#FFF,#FFF) 11em 1em,
        linear-gradient(#FFF,#FFF) 4em 2em,
        linear-gradient(#FFF,#FFF) 5em 2em,
        linear-gradient(#FFF,#FFF) 9em 2em,
        linear-gradient(#FFF,#FFF) 10em 2em,
        linear-gradient(#FFF,#FFF) 11em 2em,
        linear-gradient(#FFF,#FFF) 12em 2em,
        linear-gradient(#FFF,#FFF) 9em 3em,
        linear-gradient(#FFF,#FFF) 10em 3em,
        linear-gradient(#FFF,#FFF) 11em 3em,
        linear-gradient(#FFF,#FFF) 13em 3em,
        linear-gradient(#FFF,#FFF) 1em 4em,
        linear-gradient(#FFF,#FFF) 2em 4em,
        linear-gradient(#FFF,#FFF) 3em 4em,
        linear-gradient(#FFF,#FFF) 9em 4em,
        linear-gradient(#FFF,#FFF) 10em 4em,
        linear-gradient(#FFF,#FFF) 11em 4em,
        linear-gradient(#FFF,#FFF) 13em 4em,
        linear-gradient(#FFF,#FFF) 1em 5em,
        linear-gradient(#FFF,#FFF) 2em 5em,
        linear-gradient(#FFF,#FFF) 3em 5em,
        linear-gradient(#FFF,#FFF) 4em 5em,
        linear-gradient(#FFF,#FFF) 5em 5em,
        linear-gradient(#FFF,#FFF) 10em 5em,
        linear-gradient(#FFF,#FFF) 11em 5em,
        linear-gradient(#FFF,#FFF) 12em 5em,
        linear-gradient(#FFF,#FFF) 13em 5em,
        linear-gradient(#FFF,#FFF) 2em 6em,
        linear-gradient(#FFF,#FFF) 3em 6em,
        linear-gradient(#FFF,#FFF) 4em 6em,
        /* Black */
        linear-gradient(#000,#000) 6em 0em,
        linear-gradient(#000,#000) 7em 0em,
        linear-gradient(#000,#000) 8em 0em,
        linear-gradient(#000,#000) 9em 0em,
        linear-gradient(#000,#000) 10em 0em,
        linear-gradient(#000,#000) 11em 0em,
        linear-gradient(#000,#000) 4em 1em,
        linear-gradient(#000,#000) 5em 1em,
        linear-gradient(#000,#000) 9em 1em,
        linear-gradient(#000,#000) 12em 1em,
        linear-gradient(#000,#000) 3em 2em,
        linear-gradient(#000,#000) 8em 2em,
        linear-gradient(#000,#000) 13em 2em,
        linear-gradient(#000,#000) 1em 3em,
        linear-gradient(#000,#000) 2em 3em,
        linear-gradient(#000,#000) 3em 3em,
        linear-gradient(#000,#000) 4em 3em,
        linear-gradient(#000,#000) 8em 3em,
        linear-gradient(#000,#000) 12em 3em,
        linear-gradient(#000,#000) 14em 3em,
        linear-gradient(#000,#000) 0em 4em,
        linear-gradient(#000,#000) 5em 4em,
        linear-gradient(#000,#000) 4em 4em,
        linear-gradient(#000,#000) 8em 4em,
        linear-gradient(#000,#000) 12em 4em,
        linear-gradient(#000,#000) 14em 4em,
        linear-gradient(#000,#000) 0em 5em,
        linear-gradient(#000,#000) 6em 5em,
        linear-gradient(#000,#000) 9em 5em,
        linear-gradient(#000,#000) 14em 5em,
        linear-gradient(#000,#000) 0em 6em,
        linear-gradient(#000,#000) 6em 6em,
        linear-gradient(#000,#000) 10em 6em,
        linear-gradient(#000,#000) 11em 6em,
        linear-gradient(#000,#000) 12em 6em,
        linear-gradient(#000,#000) 13em 6em,
        linear-gradient(#000,#000) 14em 6em,
        linear-gradient(#000,#000) 15em 6em,
        linear-gradient(#000,#000) 1em 7em,
        linear-gradient(#000,#000) 5em 7em,
        linear-gradient(#000,#000) 9em 7em,
        linear-gradient(#000,#000) 16em 7em,
        linear-gradient(#000,#000) 2em 8em,
        linear-gradient(#000,#000) 3em 8em,
        linear-gradient(#000,#000) 4em 8em,
        linear-gradient(#000,#000) 8em 8em,
        linear-gradient(#000,#000) 10em 8em,
        linear-gradient(#000,#000) 11em 8em,
        linear-gradient(#000,#000) 12em 8em,
        linear-gradient(#000,#000) 13em 8em,
        linear-gradient(#000,#000) 14em 8em,
        linear-gradient(#000,#000) 15em 8em,
        linear-gradient(#000,#000) 2em 9em,
        linear-gradient(#000,#000) 9em 9em,
        linear-gradient(#000,#000) 15em 9em,
        linear-gradient(#000,#000) 3em 10em,
        linear-gradient(#000,#000) 4em 10em,
        linear-gradient(#000,#000) 10em 10em,
        linear-gradient(#000,#000) 11em 10em,
        linear-gradient(#000,#000) 12em 10em,
        linear-gradient(#000,#000) 13em 10em,
        linear-gradient(#000,#000) 14em 10em,
        linear-gradient(#000,#000) 5em 11em,
        linear-gradient(#000,#000) 6em 11em,
        linear-gradient(#000,#000) 7em 11em,
        linear-gradient(#000,#000) 8em 11em,
        linear-gradient(#000,#000) 9em 11em,
        /* Yellow */
        linear-gradient(#FF0,#FF0) 6em 2em,
        linear-gradient(#FF0,#FF0) 7em 2em,
        linear-gradient(#FF0,#FF0) 5em 3em,
        linear-gradient(#FF0,#FF0) 6em 3em,
        linear-gradient(#FF0,#FF0) 7em 3em,
        linear-gradient(#FF0,#FF0) 6em 4em,
        linear-gradient(#FF0,#FF0) 7em 4em,
        linear-gradient(#FF0,#FF0) 7em 5em,
        linear-gradient(#FF0,#FF0) 8em 5em,
        linear-gradient(#FF0,#FF0) 1em 6em,
        linear-gradient(#FF0,#FF0) 5em 6em,
        linear-gradient(#FF0,#FF0) 7em 6em,
        linear-gradient(#FF0,#FF0) 8em 6em,
        linear-gradient(#FF0,#FF0) 9em 6em,
        linear-gradient(#FF0,#FF0) 2em 7em,
        linear-gradient(#FF0,#FF0) 3em 7em,
        linear-gradient(#FF0,#FF0) 4em 7em,
        linear-gradient(#FF0,#FF0) 6em 7em,
        linear-gradient(#FF0,#FF0) 7em 7em,
        linear-gradient(#FF0,#FF0) 8em 7em,
        /* Orange */
        linear-gradient(#FC0,#FC0) 5em 8em,
        linear-gradient(#FC0,#FC0) 6em 8em,
        linear-gradient(#FC0,#FC0) 7em 8em,
        linear-gradient(#FC0,#FC0) 3em 9em,
        linear-gradient(#FC0,#FC0) 4em 9em,
        linear-gradient(#FC0,#FC0) 5em 9em,
        linear-gradient(#FC0,#FC0) 6em 9em,
        linear-gradient(#FC0,#FC0) 7em 9em,
        linear-gradient(#FC0,#FC0) 8em 9em,
        linear-gradient(#FC0,#FC0) 5em 10em,
        linear-gradient(#FC0,#FC0) 6em 10em,
        linear-gradient(#FC0,#FC0) 7em 10em,
        linear-gradient(#FC0,#FC0) 8em 10em,
        linear-gradient(#FC0,#FC0) 9em 10em,
        /* Red */
        linear-gradient(#D00,#D00) 10em 7em,
        linear-gradient(#D00,#D00) 11em 7em,
        linear-gradient(#D00,#D00) 12em 7em,
        linear-gradient(#D00,#D00) 13em 7em,
        linear-gradient(#D00,#D00) 14em 7em,
        linear-gradient(#D00,#D00) 15em 7em,
        linear-gradient(#D00,#D00) 9em 8em,
        linear-gradient(#D00,#D00) 10em 9em,
        linear-gradient(#D00,#D00) 11em 9em,
        linear-gradient(#D00,#D00) 12em 9em,
        linear-gradient(#D00,#D00) 13em 9em,
        linear-gradient(#D00,#D00) 14em 9em;
    animation: hover .75s ease-in-out infinite alternate;
}

.hand {
    transform: perspective(300px);
    animation: taper .75s ease-in infinite alternate;
    margin: 5em auto;
    width: 10em;
    height: 13em;
    background:
      /* Black */
      linear-gradient(#000,#000) 3em 0em,
      linear-gradient(#000,#000) 4em 0em,
      linear-gradient(#000,#000) 2em 1em,
      linear-gradient(#000,#000) 5em 1em,
      linear-gradient(#000,#000) 2em 2em,
      linear-gradient(#000,#000) 5em 2em,
      linear-gradient(#000,#000) 2em 3em,
      linear-gradient(#000,#000) 5em 3em,
      linear-gradient(#000,#000) 2em 4em,
      linear-gradient(#000,#000) 5em 4em,
      linear-gradient(#000,#000) 6em 4em,
      linear-gradient(#000,#000) 7em 4em,
      linear-gradient(#000,#000) 1em 5em,
      linear-gradient(#000,#000) 2em 5em,
      linear-gradient(#000,#000) 8em 5em,
      linear-gradient(#000,#000) 0em 6em,
      linear-gradient(#000,#000) 2em 6em,
      linear-gradient(#000,#000) 9em 6em,
      linear-gradient(#000,#000) 0em 7em,
      linear-gradient(#000,#000) 9em 7em,
      linear-gradient(#000,#000) 0em 8em,
      linear-gradient(#000,#000) 9em 8em,
      linear-gradient(#000,#000) 1em 9em,
      linear-gradient(#000,#000) 9em 9em,
      linear-gradient(#000,#000) 2em 10em,
      linear-gradient(#000,#000) 9em 10em,
      linear-gradient(#000,#000) 3em 11em,
      linear-gradient(#000,#000) 8em 11em,
      linear-gradient(#000,#000) 3em 12em,
      linear-gradient(#000,#000) 4em 12em,
      linear-gradient(#000,#000) 5em 12em,
      linear-gradient(#000,#000) 6em 12em,
      linear-gradient(#000,#000) 7em 12em,
      linear-gradient(#000,#000) 8em 12em,
      /* White */
      linear-gradient(#FFF,#FFF) 3em 1em,
      linear-gradient(#FFF,#FFF) 4em 1em,
      linear-gradient(#FFF,#FFF) 3em 2em,
      linear-gradient(#FFF,#FFF) 4em 2em,
      linear-gradient(#FFF,#FFF) 3em 3em,
      linear-gradient(#FFF,#FFF) 4em 3em,
      linear-gradient(#FFF,#FFF) 3em 4em,
      linear-gradient(#FFF,#FFF) 4em 4em,
      linear-gradient(#FFF,#FFF) 3em 5em,
      linear-gradient(#FFF,#FFF) 4em 5em,
      linear-gradient(#FFF,#FFF) 5em 5em,
      linear-gradient(#FFF,#FFF) 6em 5em,
      linear-gradient(#FFF,#FFF) 7em 5em,
      linear-gradient(#FFF,#FFF) 1em 6em,
      linear-gradient(#FFF,#FFF) 3em 6em,
      linear-gradient(#FFF,#FFF) 4em 6em,
      linear-gradient(#FFF,#FFF) 5em 6em,
      linear-gradient(#FFF,#FFF) 6em 6em,
      linear-gradient(#FFF,#FFF) 7em 6em,
      linear-gradient(#FFF,#FFF) 8em 6em,
      linear-gradient(#FFF,#FFF) 1em 7em,
      linear-gradient(#FFF,#FFF) 2em 7em,
      linear-gradient(#FFF,#FFF) 3em 7em,
      linear-gradient(#FFF,#FFF) 4em 7em,
      linear-gradient(#FFF,#FFF) 5em 7em,
      linear-gradient(#FFF,#FFF) 6em 7em,
      linear-gradient(#FFF,#FFF) 7em 7em,
      linear-gradient(#FFF,#FFF) 8em 7em,
      linear-gradient(#FFF,#FFF) 1em 8em,
      linear-gradient(#FFF,#FFF) 2em 8em,
      linear-gradient(#FFF,#FFF) 3em 8em,
      linear-gradient(#FFF,#FFF) 4em 8em,
      linear-gradient(#FFF,#FFF) 5em 8em,
      linear-gradient(#FFF,#FFF) 6em 8em,
      linear-gradient(#FFF,#FFF) 7em 8em,
      linear-gradient(#FFF,#FFF) 8em 8em,
      linear-gradient(#CCC,#CCC) 2em 9em,
      linear-gradient(#FFF,#FFF) 3em 9em,
      linear-gradient(#FFF,#FFF) 4em 9em,
      linear-gradient(#FFF,#FFF) 5em 9em,
      linear-gradient(#FFF,#FFF) 6em 9em,
      linear-gradient(#FFF,#FFF) 7em 9em,
      linear-gradient(#FFF,#FFF) 8em 9em,
      linear-gradient(#CCC,#CCC) 3em 10em,
      linear-gradient(#FFF,#FFF) 4em 10em,
      linear-gradient(#FFF,#FFF) 5em 10em,
      linear-gradient(#FFF,#FFF) 6em 10em,
      linear-gradient(#FFF,#FFF) 7em 10em,
      linear-gradient(#CCC,#CCC) 8em 10em,
      linear-gradient(#CCC,#CCC) 4em 11em,
      linear-gradient(#CCC,#CCC) 5em 11em,
      linear-gradient(#CCC,#CCC) 6em 11em,
      linear-gradient(#CCC,#CCC) 7em 11em;
}

.bird, .hand {
    background-repeat: no-repeat;
    background-size: 1em 1em;
}

@keyframes hover {
  to {
    transform: translateY(5em) rotate(-15deg);
  }
}

@keyframes taper {
  to {
    transform: perspective(300px) rotateX(30deg) scale(.85);
  }
}
            
          
!
999px
Loading ..................

Console