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 CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

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 id="container">
  <div class="letter_left"></div>
  <div class="letter_right"></div>
  <div class="letter_center"></div>
 
  <div class="goStick go3"></div>
</div>

<svg>
  <defs>
  <filter id="goop">
    <feGaussianBlur in="SourceGraphic" stdDeviation="10" result="a" />
      <feColorMatrix in="a" mode="matrix" values="1 0 0 0 0
                                                   0 1 0 0 0
                                                   0 0 1 0 0
                                                   0 0 0 33 -8 " result="a" /> 
      <feBlend  in="SourceGraphic" in2="a" operator="atop"  />
  </filter>

  
   <filter id="displacementFilter">
    <feTurbulence type="fractalNoise" baseFrequency="0.001" numOctaves="4" result="turbulence"/>
    <feDisplacementMap in2="turbulence" in="SourceGraphic" scale="100" xChannelSelector="R" yChannelSelector="G" result="fracted"/>
    <feGaussianBlur in="fracted" stdDeviation="5" result="a" />
     <feColorMatrix in="a" mode="matrix" values="1 0 0 0 0
                                                   0 1 0 0 0
                                                   0 0 1 0 0
                                                   0 0 0 20 -8 " result="a" /> 
  </filter>
    
      </defs>
</svg>


            
          
!
            
              $animTime: 4s;
$GanimTime: $animTime * 2;
* {
  margin: 0px;
  padding: 0px;
}
body {
  background: #E73A3F;
}
#container {
  height: 300px;
  width: 300px;
  margin: 100px auto;
  filter: url(#goop);
}

.letter_left, .letter_right {
  height: 300px;
  width: 50px;
  background: #ffffff;
  position: absolute;
  left: 0;
  right: 0;
  margin: 0px auto;
  float: left;
  transform-origin: center top;
  animation-timing-function: cubic-bezier(.3, 1.65, .75, .84);
}
.letter_center {
  height: 200px;
  width: 0px;
  background: #fff;
  position: absolute;
  left: 0;
  right: 0;
  margin: 160px auto;
  filter: (#displace);
}

.goStick {
  background: #fff;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  height: 50px;
  width: 0px;
  margin: 250px auto;
  filter: url(#displacementFilter);
}

// aniamtions //

.go3 {
  animation: goStickAnimation $GanimTime ease-in-out infinite;
  animation-timing-function: cubic-bezier(.65, .61, .86, 1.18);
}

.letter_left {
  animation: rotate_edge_left $animTime ease-in-out infinite alternate;
}
.letter_right {
  animation: rotate_edge_right $animTime ease-in-out infinite alternate;
}
.letter_center {
  animation: center_anim $animTime ease-in-out infinite alternate;
}

@keyframes rotate_edge_left {
  to {
    transform: rotate(21deg);
  }
}

@keyframes rotate_edge_right {
  to {
    transform: rotate(-21deg);
  }
}

@keyframes center_anim {
  from {
    height: 100px;
    width: 0px;
  }
  to {
    height: 40px;
    width: 100px;
  }
}

@keyframes goStickAnimation {
  50% {
    height: 0px;
    width: 200px;
  }
  100% {
    height: 0px;
    width: 200px;
  }
}

            
          
!
999px
Loading ..................

Console