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.


  <h2 class="word">プラスワン</h2>
  <div class="word">介護支援システム</div>
  <h3>Smile One</h3>
  <div class="word">レスポンシブ対応</div>
  <div class="word">Smile Web+</div>
  <h5 class="word">これはお買い得!</h5>


                * {
  margin: 0;  /* ブラウザ依存のマージンはリセット */

html {
  font-size: 100%;  /* ユーザの指定した表示サイズを尊重する */
  line-height: 1.5;

main > * + * {
  margin-top: 0.5rem;  /* サイト全体で上下マージンを統一 */

main > * + h2,
main > * + h3,
main > * + h4,
main > * + h5,
main > * + h6 {
  margin-top: 1.5em;  /* ヘッダ要素の上マージンは広めに取る */