Pen Settings

HTML

CSS

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

JavaScript

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

Packages

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.

Behavior

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.

HTML

              
                p.class 境界線のテスト
p.none スタイルなし
p.hidden スタイル非表示
p.dotted 連続した丸い点
p.dashed 連続した四角
p.double 2重線
p.groove 凹んだように見える線
p.ridge 出っ張ったように見える線
p.inset 要素を埋め込んだように見える線
p.outset 要素が出っ張ったように見える線
p.various いろいろ
              
            
!

CSS

              
                p
 padding 5px
.class
  border 1px solid #000
 .none
  border-style none
.hidden
  border-style hidden
.dotted
  border-style dotted
.dashed
  border-style dashed
.double
  border-style double
.groove
  border-style groove
.ridge
  border-style ridge
.inset
  border-style inset
.outset
  border-style outset
.various
  border-style solid dotted dashed double
              
            
!

JS

              
                
              
            
!
999px

Console