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.


                <div class="bgImage">
  <a href="" target="_blank">解説記事:CSSで背景画像だけにブラー(ぼかし)エフェクトを加える方法 | Design Color</a>


                @import '';

  background: url( no-repeat center;
  background-size: cover;
  position: relative;
  z-index: 0;
  overflow: hidden;/*ブラー効果でボヤけた部分を非表示*/

  content: '';
  background: inherit;/*.bgImageで設定した背景画像を継承する*/
  -webkit-filter: blur(5px);
  -moz-filter: blur(5px);
  -o-filter: blur(5px);
  -ms-filter: blur(5px);
  filter: blur(5px);
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  z-index: -1;/*重なり順序を一番下にしておく*/
  margin: 150px 0 200px;
  text-align: center;
  font-family: 'Cinzel', serif;
  font-size: 34px;
  color: #fff;
  text-shadow: 0 0 10px rgba(0,0,0,.4);
  box-sizing: border-box;
  display: block;
  width: 100%;
  color: #fff;
  text-decoration: none;
  position: absolute;
  bottom: 3%;
  padding: 0 3%;
  text-align: center;
  font-size: 12px;
  line-height: 1.3;
  text-shadow: 0 0 3px rgba(0,0,0,.5);