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.


  .nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  .nav-list li {
    width: calc(33.33% - 10px);
    margin-bottom: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.5;

<ul class="nav-list">
  <li>! - HTML5テンプレートを作成</li>
  <li>html:5 - HTML5テンプレートを作成</li>
  <li>p - 段落要素を作成</li>
  <li>ul>li*3 - 3つのリストアイテムを含む順序付きリストを作成</li>
  <li>a[href="#"] - ハッシュシンボルをhref値として持つアンカーリンクを作成</li>
  <li>nav>ul>li*3>a - 3つのリストアイテムを含む順序付きリストを含むナビゲーション要素を作成。各リストアイテムはアンカーリンクです。</li>
  <li>img[src="image.jpg" alt="Image"] - 画像のソースと代替テキストを持つ画像要素を作成</li>
  <li>table>tr*3>td*3 - 3行3セルの表を作成</li>
  <li>m10 - margin: 10px; を作成</li>
  <li>p10 - padding: 10px; を作成</li>
  <li>w100p - width: 100%; を作成</li>
  <li>h100 - height: 100px; を作成</li>
  <li>dib - display: inline-block; を作成</li>
  <li>tal - text-align: left; を作成</li>
  <li>tac - text-align: center; を作成</li>
  <li>tar - text-align: right; を作成</li>