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.


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.

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.


                <svg xmlns="" xmlns:xlink=""> 
    <filter id="backdrop-filter-blur" x="0" y="0" width="100%" height="100%">
      <!-- can't use xlink:href="#image": no support in FF -->
      <feImage x="0" y="0" width="300" height="300" xlink:href=""/>
      <!-- blur image -->
      <feGaussianBlur stdDeviation="3" />
      <!-- improve blur at the edges -->
      <feComponentTransfer result="blur">
        <feFuncA type="discrete" tableValues="1 1"/>
      <!-- increase opacity of sourceGraphic -->
      <feComponentTransfer in="SourceGraphic" result="source">
        <feFuncA type="linear" slope="2" intercept="0"/>
      <!-- Clip blur based on source -->
      <feComposite operator="in" in="blur" in2="source" />
      <!-- Merge -->
        <feMergeNode  />
        <feMergeNode in="SourceGraphic" />
    <image id="image" xlink:href="" x="0" y="0" height="300" width="300"></image>

<svg class="box">
  <use xlink:href="#image"></use>

<div class="box effect">
  SVG backdrop-filter blur


                .box {
  position: absolute;
  width: 300px;
  height: 300px;
  left: 0; right: 0; margin: 50px auto;
  box-sizing: border-box;
  box-shadow: 0 0 5px rgba(0,0,0,.5);
.effect {
  height: auto;
  font: 2em sans-serif;
  padding: .8em;
  color: #fff;
  background: rgba(0,0,0,.5);
  overflow: hidden;
  box-shadow: none;
  border-radius: 0 0 50% 0;

/* support backdrop-filter */
@supports ( (-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px)) ) {
  .effect {
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);

/* no support backdrop-filter */
@supports ( not ( (-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px)) ) ) {
  .effect {
    -webkit-filter: url(#backdrop-filter-blur);
            filter: url(#backdrop-filter-blur);

svg {
  position: absolute;