Pen Settings

HTML

CSS

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

JavaScript

Babel is required to process package imports. If you need a different preprocessor remove all packages first.

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

Behavior

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.

HTML

              
                <div class="main">
    <h1>πŸ„ΌπŸ„ΎπŸ„ΎπŸ„½</h1>
    <div>
      <svg xmlns="http://www.w3.org/2000/svg" width="64" height="64" viewBox="0 0 24 24">
        <style>
          path {
            animation: bounce 2s infinite ease-in-out alternate;
            transform-origin: center;
          }
          @keyframes bounce {
            to {
              transform: scale(0) rotate(60deg);
            }
          }
        </style>
        <path fill="currentColor" d="M12,4 C7.581722,4 4,7.581722 4,12 C4,16.418278 7.581722,20 12,20 C16.418278,20 20,16.418278 20,12 C20,11.6778801 19.9809872,11.3583398 19.9433432,11.0425086 C19.1009521,11.6569885 18.0775585,12 17,12 C14.2385763,12 12,9.76142375 12,7 C12,5.9224415 12.3430115,4.89904787 12.9574914,4.05665678 C12.6416602,4.01901279 12.3221199,4 12,4 Z M14.2633878,4.08262654 C13.4623038,4.83441054 13,5.8796173 13,7 C13,9.209139 14.790861,11 17,11 C18.1203827,11 19.1655895,10.5376962 19.9173735,9.7366122 C20.1909732,9.44507057 20.6791282,9.57665637 20.7691336,9.96621043 C20.9220747,10.628158 21,11.3091874 21,12 C21,16.9705627 16.9705627,21 12,21 C7.02943725,21 3,16.9705627 3,12 C3,7.02943725 7.02943725,3 12,3 C12.6908126,3 13.371842,3.07792534 14.0337896,3.23086642 C14.4233436,3.32087176 14.5549294,3.80902683 14.2633878,4.08262654 Z"/>
      </svg>      
    </div>
  </div>
              
            
!

CSS

              
                .main {
      width: 100vw;
      height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      background-color: #000;
      color: #845ef7;
    }

    h1 {
      font-size: 64px;
      letter-spacing: 16px;
      animation: shining 0.1s alternate infinite;
      font-weight: 200;
    }

    @keyframes shining {
      from {
        text-shadow: 0 0 6px rgba(182, 211, 207, 0.9),
          0 0 30px rgba(182, 211, 207, 0.3), 0 0 12px rgba(132, 94, 247, 0.5),
          0 0 21px rgba(132, 94, 247, 0.9), 0 0 34px rgba(132, 94, 247, 0.8),
          0 0 54px rgba(132, 94, 247, 0.9);
      }
      to {
        text-shadow: 0 0 6px rgba(182, 211, 207, 1),
          0 0 30px rgba(182, 211, 207, 0.4), 0 0 12px rgba(132, 94, 247, 0.6),
          0 0 22px rgba(132, 94, 247, 0.8), 0 0 38px rgba(132, 94, 247, 0.9),
          0 0 60px rgba(132, 94, 247, 1);
      }
    }
              
            
!

JS

              
                
              
            
!
999px

Console