cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - Activehtmlicon-personicon-teamoctocatpop-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.

            
              <p>Horizontal blur 10px</p>
<img src="http://nyppagesix.files.wordpress.com/2014/09/people-clooney_venice1.jpg" width="200px">
<img src="http://nyppagesix.files.wordpress.com/2014/09/people-clooney_venice1.jpg" width="200px" style="-webkit-filter: url(#svg-blur-horizontal)">
<hr>
<p>Vertical blur 10px</p>
<img src="http://nyppagesix.files.wordpress.com/2014/09/people-clooney_venice1.jpg" width="200px">
<img src="http://nyppagesix.files.wordpress.com/2014/09/people-clooney_venice1.jpg" width="200px" style="-webkit-filter: url(#svg-blur-vertical)">
<hr>
<p>Radial blur 10px</p>
<img src="http://nyppagesix.files.wordpress.com/2014/09/people-clooney_venice1.jpg" width="200px">
<img src="http://nyppagesix.files.wordpress.com/2014/09/people-clooney_venice1.jpg" width="200px" style="-webkit-filter: url(#svg-blur-radial)">
<hr>
<p>Radial blur 20px sur fond en mouvement</p>
<img src="http://media3.giphy.com/media/Ox74vmm5DongQ/giphy.gif" width="200px">
<img src="http://media3.giphy.com/media/Ox74vmm5DongQ/giphy.gif" width="200px" style="-webkit-filter: url(#svg-blur-radial20); ">
<hr>
<p>Decimal blur 0.9px</p>
<img src="http://nyppagesix.files.wordpress.com/2014/09/people-clooney_venice1.jpg" width="200px">
<img src="http://nyppagesix.files.wordpress.com/2014/09/people-clooney_venice1.jpg" width="200px" style="-webkit-filter: url(#svg-blur-decimal)">
<hr>
<p>Animated blur 0-10px</p>
<img src="http://nyppagesix.files.wordpress.com/2014/09/people-clooney_venice1.jpg" width="200px">
<img src="http://nyppagesix.files.wordpress.com/2014/09/people-clooney_venice1.jpg" width="200px" style="-webkit-animation: svg-blur-animation 6s infinite">
<hr>
<p>Filtre/Curves a la Instagram</p>
<img src="http://nyppagesix.files.wordpress.com/2014/09/people-clooney_venice1.jpg" width="200px">
<img src="http://nyppagesix.files.wordpress.com/2014/09/people-clooney_venice1.jpg" width="200px" style="-webkit-filter: url(#svg-curves)">
<hr>
<p>Pseudo-flood</p>
<img src="http://nyppagesix.files.wordpress.com/2014/09/people-clooney_venice1.jpg" width="200px">
<img src="http://nyppagesix.files.wordpress.com/2014/09/people-clooney_venice1.jpg" width="200px" style="-webkit-filter: url(#svg-pseudoflood)">
<hr>
<p>Curves+Pseudo-flood</p>
<img src="http://nyppagesix.files.wordpress.com/2014/09/people-clooney_venice1.jpg" width="200px">
<img src="http://nyppagesix.files.wordpress.com/2014/09/people-clooney_venice1.jpg" width="200px" style="-webkit-filter: url(#svg-curves-pseudoflood)">
<hr>
<p>Gothamish</p>
<img src="http://nyppagesix.files.wordpress.com/2014/09/people-clooney_venice1.jpg" width="200px">
<img src="http://nyppagesix.files.wordpress.com/2014/09/people-clooney_venice1.jpg" width="200px" style="-webkit-filter: url(#Gothamish)">
<hr>
<svg style="display:none">
    <filter id="svg-blur-horizontal" x="-10%" y="-10%" width="120%" height="120%" filterUnits="objectBoundingBox" color-interpolation-filters="sRGB">
        <feGaussianBlur in="SourceGraphic" stdDeviation="10 0"></feGaussianBlur>
    </filter>
    <filter id="svg-blur-vertical" color-interpolation-filters="sRGB">
        <feGaussianBlur in="SourceGraphic" stdDeviation="0 10"></feGaussianBlur>
    </filter>
    <filter id="svg-blur-radial" color-interpolation-filters="sRGB">
        <feGaussianBlur in="SourceGraphic" stdDeviation="10"></feGaussianBlur>
    </filter>
    <filter id="svg-blur-radial20" color-interpolation-filters="sRGB">
        <feGaussianBlur in="SourceGraphic" result="outBlur" stdDeviation="20"></feGaussianBlur>
        <feMerge>
            <feMergeNode in="SourceGraphic"/>
            <feMergeNode in="outBlur"/>
        </feMerge>
    </filter>
    <filter id="svg-blur-decimal" color-interpolation-filters="sRGB">
        <feGaussianBlur in="SourceGraphic" stdDeviation="0.9"></feGaussianBlur>
    </filter>
    <filter id="svg-blur-partial" color-interpolation-filters="sRGB">
        <feGaussianBlur in="SourceGraphic" x="0%" y="0%" width="100%" height="20%" stdDeviation="10"></feGaussianBlur>
    </filter>
    <filter id="svg-curves" color-interpolation-filters="sRGB">
        <feComponentTransfer in="SourceGraphic" result="outCurves1">
            <feFuncR type="table" tableValues="0 0.17 0.35 0.65 1" />
            <feFuncG type="table" tableValues="0 0.17 0.35 0.65 1" />
            <feFuncB type="table" tableValues="0 0.17 0.35 0.65 1" />
        </feComponentTransfer>
        <feComponentTransfer in="outCurves1">
            <feFuncR type="table" tableValues="0 0.30 0.50 0.65 1" />
            <feFuncG type="table" tableValues="0 0.18 0.50 0.80 1" />
            <feFuncB type="table" tableValues="0 0.25 0.42 0.62 1" />
        </feComponentTransfer>
    </filter>
    <filter id="svg-pseudoflood" color-interpolation-filters="sRGB">
        <feComponentTransfer in="SourceGraphic" result="outFlooded">
            <feFuncR type="discrete" tableValues="0.9568627450980392" />
            <feFuncG type="discrete" tableValues="0.9176470588235294" />
            <feFuncB type="discrete" tableValues="0.7411764705882353" />
        </feComponentTransfer>
        <feBlend in2="SourceGraphic" in="outFlooded" mode="multiply"></feBlend>
    </filter>
    <filter id="svg-curves-pseudoflood" color-interpolation-filters="sRGB">
        <feComponentTransfer in="SourceGraphic" result="outCurves1">
            <feFuncR type="table" tableValues="0 0.17 0.35 0.65 1" />
            <feFuncG type="table" tableValues="0 0.17 0.35 0.65 1" />
            <feFuncB type="table" tableValues="0 0.17 0.35 0.65 1" />
        </feComponentTransfer>
        <feComponentTransfer in="outCurves1" result="outCurves2">
            <feFuncR type="table" tableValues="0 0.30 0.50 0.65 1" />
            <feFuncG type="table" tableValues="0 0.18 0.50 0.80 1" />
            <feFuncB type="table" tableValues="0 0.25 0.42 0.62 1" />
        </feComponentTransfer>
        <feComponentTransfer in="SourceGraphic" result="outFlooded">
            <feFuncR type="discrete" tableValues="0.9568627450980392" />
            <feFuncG type="discrete" tableValues="0.9176470588235294" />
            <feFuncB type="discrete" tableValues="0.7411764705882353" />
            <feFuncA type="discrete" tableValues="0.4" />
        </feComponentTransfer>
        <feBlend in2="outCurves2" in="outFlooded" mode="multiply"></feBlend>
    </filter>
    <filter id="Gothamish" color-interpolation-filters="sRGB">
    <feComponentTransfer in="SourceGraphic" result="midtoneContrast">
      <feFuncR type="table" tableValues="0 0.05 0.1 0.2 0.3 0.5 0.7 0.8 0.9 0.95 1.0"/>
    </feComponentTransfer>
   <feColorMatrix in="midtoneContrast" result="redBWandblue" type="matrix" values="1 0 0 0 0
          1 0 0 0 0
          1 0 0 0 0.03
          0 0 0 1 0"/>
   <feGaussianBlur in="redBWandblue" stdDeviation="1" result="blurMask"/>
   <feComposite operator="arithmetic" in="redBWandblue" in2="blurMask" k2="1.3" k3="-0.3" result="postsharp"/>
   <feComponentTransfer result="finalImage" in="postsharp">
    <feFuncB type="table" tableValues="0 0.047 0.118 0.251 0.318 0.392 0.42 0.439 0.475 0.561 0.58 0.627 0.671 0.733 0.847 0.925 1"/>
  </feComponentTransfer>
</filter>
</svg>
            
          
!
            
              @-webkit-keyframes svg-blur-animation {
  0% {
    -webkit-filter: blur(0px);
  }
  
  50% {
    -webkit-filter: blur(30px);
  }
  
  100% {
    -webkit-filter: blur(0px);
  }
}

filter#svg-flood>:nth-child(1){
    flood-color: navy;
}
            
          
!
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