octocatstartv

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.

            
              <svg x="0px" y="0px" width="500px" height="500px" viewbox="0 0 500 500">
 <!-- Fake SMIL animation polyfill for IE -->
  
<script type="text/ecmascript" xlink:href="http://www.codedread.com/lib/smil.user.js"/>
  
  <defs>
    <filter id="blurry" x="-20%" y="-20%" height="140%" width="140%" primitiveUnits="userSpaceOnUse">
      <feImage x="0" y="0" width="500" height="500" xlink:href="#squares" result="mySquares"/>
      <feGaussianBlur stdDeviation="10" in="mySquares" result="blurSquares"/>
      <feComponentTransfer in="blurSquares" result="moaralpha">
        <feFuncA type="linear" slope="4" intercept="0"/>
      </feComponentTransfer>
      <feComposite operator="in" in="moaralpha" in2="SourceGraphic" result="clipBlur"/>
      <feFlood x="10%" y="10%" width="80%" height="80%" flood-color="white" flood-opacity="0.6" result="whitesquare"/>
      <feBlend mode="screen" in="clipBlur" in2="whitesquare" result="final"/>

    </filter>
  </defs>
  
  <g id="squares">
    <rect x="10" y="10" height="235" width="235" fill="rgb(244,81,16)">
      <animate attributeName="x" from="-200" to="10" dur="1s"/>
      <animate attributeName="y" from="-200" to="10" dur="1s"/>
    </rect>
    <rect x="255" y="10" height="235" width="235" fill="rgb(123,186,0)" >
            <animate attributeName="x" from="500" to="255" dur="1s"/>
      <animate attributeName="y" from="-200" to="10" dur="1s"/>
         </rect>
    <rect x="10" y="255" height="235" width="235" fill="rgb(0,161,240)" >
         <animate attributeName="x" from="-200" to="10" dur="1s"/>
      <animate attributeName="y" from="600" to="255" dur="1s"/>
       </rect>
    <rect x="255" y="255" height="235" width="235" fill="rgb(255,185,0)">
            <animate attributeName="x" from="600" to="255" dur="1s"/>
      <animate attributeName="y" from="600" to="255" dur="1s"/>
       </rect>
  </g>

    <rect filter="url(#blurry)" x="50" y="50" height="400" width="400"/>
</svg>
            
          
!
999px
Close

Asset uploading is a PRO feature.

As a PRO member, you can drag-and-drop upload files here to use as resources. Images, Libraries, JSON data... anything you want. You can even edit them anytime, like any other code on CodePen.

Go PRO

Loading ..................

Console