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

              
                기본<hr>
<br><br>
<h2>• hr 꾸미기는 border를 사용하면 된다.</h2>
border: 1px solid #000<hr style="border: 1px solid #000;">
border: 1px dashed #000<hr style="border: 1px dashed #000;">
border-top: 1px dashed #000<hr style="border-top: 1px dashed #000;">
border-bottom: 1px dashed #000<hr style="border-bottom: 1px dashed #000;">
<br><br>
border: 2px solid #000<hr style="border: 2px solid #000;">
border: 2px dashed #000<hr style="border: 2px dashed #000;">
border-top: 2px dashed #000<hr style="border-top: 2px dashed #000;">
border-bottom: 2px dashed #000<hr style="border-bottom: 2px dashed #000;">
<b style="color: #0369D7;">※ border-bottom은 자세히 보면 이중선으로 나오니 border만 쓰던지 border-top을 쓰자.</b>
<br><br>
border: 1px dotted #000<hr style="border: 1px dotted; #000;">
border: 1px dotted #000<hr style="border: 1px dotted #000;">
border-top: 1px dotted #000<hr style="border-top: 1px dotted #000;">
border-bottom: 1px dotted #000<hr style="border-bottom: 1px dotted #000;">
<br><br>
border: 2px dotted #000<hr style="border: 2px dotted; #000;">
border: 2px dotted #000<hr style="border: 2px dotted #000;">
border-top: 2px dotted #000<hr style="border-top: 2px dotted #000;">
border-bottom: 2px dotted #000<hr style="border-bottom: 2px dotted #000;">
<br><br>
border-top: 8px solid #0369D7;<hr style="border-top: 8px solid #0369D7;">
border-top: 20px solid #FF6347; border-radius: 10px;<hr style="border-top: 20px solid #FF6347; border-radius: 10px;">
<b style="color: #0369D7;">※ border-radius로 모서리 둥글기 설정 가능.</b>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console