Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource

JavaScript

Babel includes JSX processing.

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

Packages

Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.

Behavior

Auto Save

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

              
                  <html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Alert Activated</title>
    <link rel="stylesheet" href="style.css" />
  </head>
  <body>
    <div class="svg-wrap">
      <svg id="success" width="88" height="88" viewBox="0 0 88 88" fill="none" xmlns="http://www.w3.org/2000/svg">
<path id="BG" d="M88 44C88 19.6995 68.3005 0 44 0C19.6995 0 0 19.6995 0 44C0 68.3005 19.6995 88 44 88C68.3005 88 88 68.3005 88 44Z" fill="#EAFAEE"/>
    <g id="Bell">
      
      <path id="Fill" d="M3.7243 31.8314L2.36936 31.875V33.2306V36V37.4H3.76936H35.6154H37.0154V36V33.2309V31.8754L35.6606 31.8316C33.5401 31.7631 31.8463 30.0381 31.8463 27.9233V14.5615V14.5613C31.846 11.8789 29.6562 9.67696 26.9846 9.67696H12.4C9.6993 9.67696 7.53848 11.885 7.53848 14.5615V27.923C7.53848 30.038 5.84461 31.7631 3.7243 31.8314Z" fill="#84E199" stroke="#11461D" stroke-width="2.8"/>
      <path id="Tassel" fill-rule="evenodd" clip-rule="evenodd" d="M17.4306 41.5385V44.1924C17.4306 44.7694 17.8922 45.2309 18.4691 45.2309H20.9152C21.4691 45.2309 21.9537 44.7694 21.9537 44.1924L21.9539 41.5385H24.723V44.1924C24.723 46.2924 23.0154 48 20.9154 48H18.4691C16.3691 48 14.6615 46.2924 14.6615 44.1924V41.5385H17.4306Z" fill="#11461D"/>
      <path id="Top" fill-rule="evenodd" clip-rule="evenodd" d="M21.0767 0V5.53848H18.3076V0H21.0767Z" fill="#11461D"/>

    </g>
<g id="check" >
<circle id="check-bg" r='11' fill="#28A745"/>
<path id="checksign" d="M1 4.5L4.5 8L11.5 1" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
</g>
</svg>
    </div>
  </body>
</html>

              
            
!

CSS

              
                :root {
  --easing1: cubic-bezier(0.445,  0.050, 0.550, 0.950);
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30vh;
  zoom: 2;
}

body, #success {overflow: visible;}

#checksign { transform: translate(-6px,-4px); }

#check {
  transform-origin: center;
  transform-box: fill-box;
  animation: bounce 0.5s var(--easing1) 0.3s both;
}

#Bell {
  transform: translate(23px,20px) ;
  animation: ring 0.9s var(--easing1) 0.2s;
/*   transform-origin: 30px 0px; */
  transform-origin: top;
  transform-box: fill-box;
}

#Tassel {
  animation: tassel 0.9s ease-out 0.2s;
  transform-origin: top;
  transform-box: fill-box;
}

@keyframes ring {
  0% {transform: translate(23px,20px) rotate(0deg);}
  15% {transform: translate(23px,20px) rotate(-16deg);}
  30% {transform: translate(23px,20px) rotate(12deg);}
  45% {transform: translate(23px,20px) rotate(-6deg);}
  60% {transform: translate(23px,20px) rotate(4deg);}
  85% {transform: translate(23px,20px) rotate(0deg);}
  100% {transform: translate(23px,20px) rotate(0deg);}
}

@keyframes tassel {
  0% {transform: translateX(0px);}
  15% {transform: translateX(-8px);}
  30% {transform: translateX(6px);}
  45% {transform: translateX(-4px);}
  60% {transform: translateX(2px);}
  85% {transform: translateX(0px);}
  100% {transform: translateX(0px);}
}


@keyframes bounce {
  0%  { transform: translate(60px,30px) scale(0); }
	50% { transform: translate(60px,30px) scale(1.2); }
 	70% { transform: translate(60px,30px) scale(0.9); }
	100% { transform: translate(60px,30px) scale(1); }
}


              
            
!

JS

              
                
              
            
!
999px

Console