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 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.

Quick-add: + add another resource

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.

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