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.

            
              <svg id="disapproved" viewBox="0 0 748.2 582.9">
  <circle class="st0 moon" cx="434.8" cy="311.6" r="253"/><path class="st1 star" d="M602 0l6.2 11.2 11.1 6.1-11.1 6.1-6.2 11.2-6.1-11.2-11.1-6.1 11.1-6.1z"/><circle class="st1 star" cx="261.2" cy="577.2" r="5.7"/><circle class="st1 star" cx="112.7" cy="472.3" r="5.7"/><circle class="st1 star" cx="742.5" cy="169.5" r="5.7"/><circle class="st1 star" cx="734.4" cy="448.4" r="5.7"/><circle class="st1 star" cx="108.3" cy="308.9" r="5.7"/>
  <path id="ceja" class="st2" d="M480.8 315.7s17.4-85 88.9-40.3c-.1 0-44-19.2-88.9 40.3z"/><path id="ceja2" class="st2" d="M392 288.5s-3.6-99.9-102.1-17c0 0 65.5-55.7 102.1 17z"/>
  <path id="eye" class="st2" d="M553.8 315c0 4.9-4 8.9-8.9 8.9s-8.9-4-8.9-8.9"/><path id="boca" class="st2" d="M345.6 426.5s21.9 9.1 35.8 3.2c31.3-13.2 46.2-4.4 56.8-3.2 0 0 25.7-7.3 51.8 1.7 15.2 5.3 17.7 6.1 42.3.2 0 0-55.4 30.2-92.7 30.2-45.4.2-51.5-18.5-94-32.1z"/><path class="st3" d="M399.6 387c5.9-5.2 14.1-6.2 23.3.9 15.4 11.8 23.9 4.5 28.7 1 5.6-4.1 11.7-11.4 25.6-1.9M503.8 321.6s28 16 43.5 11M564.8 314.2h-62.7"/><path d="M303.5 327.7c-13.8 6.3-2.7-12.3 16.9-24.5 33-20.4 81.9 11 42.9 5.3" fill="#13192d"/><ellipse transform="rotate(-18.504 380.295 82.267)" class="st5" cx="380.2" cy="82.2" rx="5.7" ry="1.8"/><ellipse transform="rotate(-71.681 663.396 353.602)" class="st5" cx="663.4" cy="353.6" rx="5.8" ry="2"/><path class="st3" d="M521.3 339.4s22.9 11.7 45.7-3.9"/><g><path d="M385 350.6s-192.6-41.5-272.5-214.7l-11.2-20.7 10.8-12.5 22 8.2C316.7 165.8 385 350.6 385 350.6z" fill="#fa3757" stroke="#13192d" stroke-width="4" stroke-miterlimit="10"/><path class="st0" d="M112.5 135.9l-11.2-20.6 10.8-12.4 22 8.2c-8.8 6.3-15.8 14.7-21.6 24.8zM309.4 323.4c43.5 20.1 75.7 27.1 75.7 27.1s-11.4-30.6-37.2-70.6c-5.2 21.2-4.2 29.1-38.5 43.5zM209.8 144s-32.7 28.8-54 62.2l-9.3-12.3s21.4-31.8 49.9-57.4l13.4 7.5zM190.2 133.5s-29.3 26.2-47.6 54.8l-7.3-11.3s18.4-27.2 42.8-49.3l12.1 5.8z"/><path id="ala" class="st0" d="M114 119.2C72.5 88.2 39.5 62.1 40.3 61c.8-1.1 35.1 23.3 76.6 54.4s85.6 65.5 84.8 66.5c-.8 1.1-46.2-31.6-87.7-62.7z"/><path class="st0" d="M246.5 142.5s-49.4-69-144.8-128.2c0 0 76 77.7 65.2 108.5 0 0 19.6 9 28.4 13.2-.1-.1 25.5-18.9 51.2 6.5zM159.4 242.8S84.2 203.6 12.1 117.5c0 0 87.6 64.3 116.6 49.3 0 0 11.7 18.1 17.1 26.2 0 0-15.1 27.9 13.6 49.8z"/><g id="window2"><circle class="st7" cx="259.3" cy="259.2" r="12.7"/><path class="st7" d="M249.7 250.8l9.6 8.4 1.6 12.6"/></g><g id="window"><circle class="st7" cx="222.3" cy="209.4" r="12.7"/><path fill="#f8f3dc" stroke="#f8f3dc" stroke-width="4" stroke-miterlimit="10" d="M219.3 198.2l3 11.2 6.4-9.3z"/></g><path class="st3" d="M290 229.7l6.3 49.7M301.2 238.4l6.3 49.7M279.8 250.9l43.8 7.8M291 267.6l28.7 5.2"/></g><g><path class="st1" d="M379.5 306.8c-12.8-1.5-24.5 6-28.8 17.3-6.6-5.9-16-8.5-25.3-6.1-14.6 3.7-23.4 18.5-19.6 32.9s18.8 23.1 33.4 19.3c9-2.3 15.8-8.7 18.8-16.7 4.1 3.6 9.3 6.1 15.2 6.8 15 1.7 28.6-8.9 30.4-23.7 1.7-14.7-9.1-28.1-24.1-29.8z"/><path d="M379.5 306.8c-12.8-1.5-24.5 6-28.8 17.3-22.1-15.1-45.3-8.3-57.9 10.4" fill="#f8f3dc" stroke="#13192d" stroke-width="3.4362" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10"/></g><path id="ray" fill="#ffca30" d="M250.9 49.1l17.6-4-13.1 19.5 13.1-2.9-16.7 27.2.4-17.3-10.1 1.5z"/><g><path class="st5" d="M377.1 177c1.7 3.8-2.7 7.6-12.6 12.7-8.3 4.4-17 4.9-18.6 1.2s4-9.9 12.6-13.7c8.6-3.9 17-4 18.6-.2z"/><path class="st11" d="M340.9 189.8c-1.7-3.8 7-12.9 15.6-16.7 8.6-3.8 21-3.9 22.6-.2"/><path class="st5" d="M589 158.7c-1.9 2.2-6.5-.2-14.2-6.4-6.6-5.3-10.5-11.7-8.6-13.9 1.9-2.2 8.6.6 14.9 6.2 6.3 5.6 9.8 11.9 7.9 14.1z"/><path class="st11" d="M564.8 134.4c1.9-2.2 12 2.1 18.3 7.8 6.3 5.6 11.5 15 9.6 17.1"/><ellipse transform="rotate(-33.609 302.443 135.05)" class="st5" cx="302.4" cy="135" rx="13.4" ry="4.9"/><ellipse transform="rotate(-68.155 643.404 393.304)" class="st5" cx="643.4" cy="393.3" rx="13.4" ry="4.9"/><ellipse transform="rotate(-27.25 361.527 125.242)" class="st5" cx="361.5" cy="125.3" rx="7.3" ry="3.7"/><ellipse transform="rotate(-75.593 403.44 518.149)" class="st5" cx="403.4" cy="518.1" rx="3.7" ry="7.3"/><ellipse transform="rotate(-60 530.257 102.245)" class="st5" cx="530.2" cy="102.2" rx="1.8" ry="5.7"/><ellipse transform="matrix(.07548 -.9971 .9971 .07548 -146.645 936.253)" class="st5" cx="431.6" cy="547.2" rx="1.8" ry="5.7"/><ellipse transform="rotate(-30 242.071 338.614)" class="st5" cx="242.1" cy="338.6" rx="2.2" ry="2.7"/><ellipse transform="matrix(.9992 -.04031 .04031 .9992 -3.569 17.304)" class="st5" cx="427.3" cy="97.1" rx="23.4" ry="7.9"/><ellipse transform="rotate(-32.531 563.731 508.159)" class="st5" cx="563.8" cy="508.2" rx="10.1" ry="3.4"/><ellipse transform="rotate(-71.681 485.918 140.066)" class="st5" cx="485.9" cy="140.1" rx="5.8" ry="13.4"/><ellipse transform="rotate(-68.155 347.199 525.116)" class="st5" cx="347.2" cy="525.1" rx="5.8" ry="13.4"/><g><path class="st5" d="M212.8 300.1c2 .4 2.2 3.6 1.5 9.7-.6 5.2-2.9 9.4-4.9 9s-2.8-4.9-1.9-10c.9-5.2 3.3-9.1 5.3-8.7z"/><path class="st11" d="M207.5 320.9c-2-.4-3.2-7.2-2.2-12.3.9-5.2 4.5-11 6.4-10.6"/></g><g><ellipse transform="rotate(-14.2 494.863 527.067)" class="st5" cx="494.9" cy="527.1" rx="18" ry="6"/><path d="M474 534.5s6.9 5.1 27.3-.7c7.2-2 16.8-7.8 15.8-13.9" fill="none" stroke="#ded9c4" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10"/></g></g></svg>


<p><a href="https://www.youtube.com/watch?v=NOG3eus4ZSo" target="_blank">This is the Soundtrack</a></p>
            
          
!
            
              body {background-color: #1f2740; text-align:center; margin: 20px auto;
 }
svg { margin: 20px 20px 10px; width: 300px;}
a { color: #f8f3dc; font-family: monospace; }

#disapproved {
   .st0{stroke:#13192d;stroke-width:4;stroke-miterlimit:10}.st0,.st1{fill:#f8f3dc}.st2,.st3{fill:#13192d;stroke:#13192d;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10}.st3{fill:none;stroke-width:4}.st5{fill:#ded9c4}.st11,.st7{fill:#13192d;stroke:#f8f3dc;stroke-width:4;stroke-miterlimit:10}.st11{fill:none;stroke:#ded9c4;stroke-width:2}
  
  .star {
    opacity:0;
    animation: starLight 5s 1s infinite;
    &:nth-child(2) {
      animation-delay: 2s;
      animation-duration: 8s;
    }
    &:nth-child(3) {
      animation-delay: .5s;
      animation-delay: 2.5s;
    }
    &:nth-child(4) {
      animation-delay: 2.5s;
      animation-duration: 9s;
    }
    &:nth-child(5) {
      animation-delay: 3s;
      animation-duration: 12s;
    }
    &:nth-child(5) {
      animation-delay: 3s;
    }       
  }
  
  #ray {
    opacity:0;
    transform-box: fill-box;
    transform-origin: center;
    animation: starLight .6s infinite, ray .6s steps(2) infinite;
  }
  #eye {
    transform: translateX(-4.5%);
    animation: eye 8s steps(2) infinite alternate;
  }
  #ala {
    transform-box: fill-box;
    transform-origin: center;
    animation: ala .3s steps(2) infinite alternate;
  }
  #boca {
    transform-box: fill-box;
    transform-origin: center;
    animation: boca 8s steps(2) infinite alternate;
  }
  #ceja, #ceja2 {
    animation: ceja 8s steps(2) infinite alternate;
  }
  #window {
    transform-box: fill-box;
    transform-origin: center;
    animation: window 4s 2s steps(4) infinite;
  }
  
  
}

@keyframes starLight {
  80% {opacity: 1}
}
@keyframes ray {
  to {transform: scale(1.4); }
}
@keyframes eye {
  50%, 70% {transform: translateX(1%); }
}
@keyframes ala {
  to {transform: rotate(2deg); }
}
@keyframes boca {
  to {transform: rotate(5deg) scale(1.1); }
}
@keyframes ceja {
  to {transform: translateY(-2%); }
}
@keyframes window {
  to {transform: rotate(350deg); }
}
            
          
!
            
              /* This is the soundtrack: https://www.youtube.com/watch?v=NOG3eus4ZSo */ 
            
          
!
999px
🕑 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.

Console