Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource


Babel includes JSX processing.

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


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Auto Save

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.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.


                <p><strong>Radial</strong> progressive blur</p>
<div class="effet">
  <img src="" alt="" />
<img class="filtre filtre--r" src="" alt="" />
<p><strong>Linear</strong> progressive blur</p>
<div class="effet">
<img src="" alt="" />
<img class="filtre filtre--l" src="" alt="" />
<p>Hover over images to see without blur</p>
<p>Next demo: <a href="" target="_blank">iOS 7 background blur with CSS</a></p>
<svg height="0">
  <mask id="mask-radial">
    <rect width="400" height="300" fill="url(#g1)"></rect>
    <radialGradient id="g1" cx="50%" cy="50%" r="50%">
      <stop stop-color="black" offset="50%"/>
      <stop stop-color="white" offset="110%"/>
  <mask id="mask-linear">
    <rect width="400" height="300" fill="url(#l1)"></rect>
    <linearGradient id="l1" x1="0" y1="0" x2="0" y2="1">
      <stop stop-color="white" offset="0%"/>
      <stop stop-color="black" offset="30%"/>
      <stop stop-color="white" offset="100%"/>
  <filter id="filtre1">
    <feGaussianBlur in="SourceGraphic" stdDeviation="5"/>
  <filter id="filtre2">
    <feGaussianBlur in="SourceGraphic" stdDeviation="3"/>


  width: 400px; height: 300px;
  margin: 0 auto 50px auto;
  box-shadow: 0 1px 5px rgba(0,0,0,.5);
.effet img{
  position: absolute;
  -webkit-mask: -webkit-radial-gradient( center, closest-side, transparent 30%, black 80%);
  -webkit-mask: radial-gradient( closest-side at center, transparent 50%, black 110%);
  -webkit-filter: blur(5px);
  mask: url('#mask-radial');
  filter: url('#filtre1');
  -webkit-mask: -webkit-linear-gradient(black, transparent 30%, black);
  -webkit-mask: linear-gradient(black, transparent 30%, black);
  -webkit-filter: blur(3px);
  mask: url('#mask-linear');
  filter: url('#filtre2');
   -webkit-mask: none;
   -webkit-filter: none;
   mask: none;
   filter: none;
   text-align: center;
   color: rgba(0,0,0,.6);
   margin: 1em;
p a{
  color: rgba(0,0,0,.6);