css Audio - Active file-generic CSS - Active Generic - Active HTML - Active JS - Active SVG - Active Text - Active file-generic Video - Active header Love html icon-new-collection icon-person icon-team numbered-list123 pop-out spinner split-screen star tv

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.

            
              <body>
   <div class="bar">
     <div class="c1 c">
       <div class="triangle t1"></div>
       <div class="s1">
         <div class="triangle t1 inner"></div>
       </div> 
     </div>
     <div class="c2 c">
       <div class="triangle t2 down"></div>
       <div class="s2">
         <div class="triangle t2 innerdown"></div>
       </div>
     </div>
     <div class="c3 c">
       <div class="triangle t3"></div>
       <div class="s3">
         <div class="triangle t3 inner"></div>
     </div>
     <div class="c4 c">
       <div class="triangle t4 down"></div>
       <div class="s4">
         <div class="triangle t4 innerdown"></div>
       </div>
     </div>
     <div class="c5 c">
       <div class="triangle t5"></div>
       <div class="s5">
         <div class="triangle t5 inner"></div>
       </div>
     </div>
     <div class="c6 c">
       <div class="triangle t6 down"></div>
       <div class="s6">
         <div class="triangle t6 innerdown"></div>
       </div>
     </div>
     <div class="c7 c">
       <div class="triangle t7"></div>
       <div class="s7">
         <div class="triangle t7 p7 inner"></div>
       </div>
     </div>
  </div>
</body>
            
          
!
            
              body{
  background: #1D1D1D;
}

.bar{
  width: 340px;
  height: 60px;
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-left: -170px;
}

.triangle{
  width: 0;
  height: 0;
  border-left: 35px solid transparent;
	border-right: 35px solid transparent;
	border-top: 60px solid #242424;
  position: absolute;
}
.inner{
  border-top: 60px solid #1D1D1D;
  -webkit-transform: scale(0.9);
  transform: scale(0.9);
  z-index:2;
}

.innerdown{
  border-top: 60px solid #1D1D1D;
  -webkit-transform: scale(0.9) rotate(180deg);
  transform: scale(0.9) rotate(180deg);
  z-index:2;
}

.down{
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
}

.t1{
  animation: glow .5s ease 2s;
  -webkit-animation: glow .5s ease 2s;
    animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
}

.t2{
  left: 45px;
  animation: glow .5s ease 2.5s;
  -webkit-animation: glow .5s ease 2.5s;
    animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
}

.t3{
  left: 90px;
  animation: glow .5s ease 3s;
  -webkit-animation: glow .5s ease 3s;
    animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
}

.t4{
  left: 135px;
  animation: glow .5s ease 3.5s;
  -webkit-animation: glow .5s ease 3.5s;
    animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
}

.t5{
  left: 180px;
  animation: glow .5s ease 4s;
  -webkit-animation: glow .5s ease 4s;
    animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
}

.t6{
  left: 225px;
  animation: glow .5s ease 4.5s;
  -webkit-animation: glow .5s ease 4.5s;
    animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
}

.t7{
  left: 270px;
  animation: glow .5s ease 5s;
  -webkit-animation: glow .5s ease 5s;
    animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
}

.s1{
   animation: fade .5s linear 2s;
  -webkit-animation: fade .5s linear 2s;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
}

.s2{
   animation: fade .5s linear 2.5s;
  -webkit-animation: fade .5s linear 2.5s;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
}

.s3{
   animation: fade .5s linear 3s;
  -webkit-animation: fade .5s linear 3s;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
}

.s4{
   animation: fade .5s linear 3.5s;
  -webkit-animation: fade .5s linear 3.5s;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
}

.s5{
   animation: fade .5s linear 4s;
  -webkit-animation: fade .5s linear 4s;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
}

.s6{
   animation: fade .5s linear 4,5s;
  -webkit-animation: fade .5s linear 4.5s;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
}

.s7{
   animation: fade .5s linear 5s;
  -webkit-animation: fade .5s linear 5s;
  animation-fill-mode: forwards;
  -webkit-animation-fill-mode: forwards;
}

@keyframes pulse{
  0% { transform:scale(1);}
  50% { transform:scale(0.8);}
  100% { transform:scale(1);}
}

@-webkit-keyframes pulse{
  0% { -webkit-transform:scale(1);}
  50% { -webkit-transform:scale(0.8);}
  100% { -webkit-transform:scale(1);}
}

@keyframes fade{
  0% { opacity:1;}
  100% { opacity: 0;}
}

@-webkit-keyframes fade{
  0% {opacity:1}
  100% {opacity: 0;}
}

@keyframes fadein{
  0% { opacity:0;}
  100% { opacity:1;}
}

@-webkit-keyframes fadein{
  0% {opacity:0}
  100% {opacity:1;}
}

@keyframes blink{
  0%{opacity:1}
  68%{opacity:1}
  70%{opacity:0}
  72%{opacity:1}
  100%{opacity:1}
}

@-webkit-keyframes blink{
  0%{opacity:1}
  68%{opacity:1}
  70%{opacity:0}
  72%{opacity:1}
  100%{opacity:1}
}

@-webkit-keyframes fadein{
  0% {opacity:0}
  100% {opacity:1;}
}

@keyframes glow{
  0% { border-top: 60px #242424 solid; z-index:1;}
  100% { border-top: 60px #AED4FF solid; z-index:2;}
}

@-webkit-keyframes glow{
  0% { border-top: 60px #242424 solid; z-index:1;}
  100% { border-top: 60px #AED4FF solid; z-index:2;}
}

.bar:before, .bar:after{
  content: '';
  opacity: 0;
  height: 24px;
  width: 24px;
  position: absolute;
  top: -60px;
  border-radius: 12px;
  background: #AED4FF;
  animation: fadein .5s linear forwards 6s, blink 6s infinite 10s;
  -webkit-animation: fadein .5s linear forwards 6s, blink 6s infinite 10s;
}
.bar:before{
  left: 24px;
}
.bar:after{
  right: 24px;
}
            
          
!
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.
Loading ..................

Console