Pen Settings

HTML

CSS

CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URL's added here will be added as <link>s in order, and before the CSS in the editor. If you link to another Pen, it will include the CSS from that Pen. If the preprocessor matches, it will attempt to combine them before processing.

+ 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

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.

HTML

              
                <h1>h1です</h1>
<h2>h2です</h2>
<h3>h3です</h3>
<h4>h4です</h4>
<h5>h5です</h5>
<h6>h6です</h6>

<code class="block small padding box info">&lt;code&gt;code&lt;/code&gt;タグと他のclassの組み合わせです</code>

<div class="hr">
	罫線です
</div>

<p><b>bタグ</b>、<bold>boldタグ</bold>、<strong>strongタグ</strong>です</p>

<p><span class="grey">グレー</span> とか<span class="lightgrey">ライトグレー</span>とか</p>
<p> <code>codeタグ</code>です</p>
<p><mark>markタグ</mark>です</p>

<p>pタグです。Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc at imperdiet sem. Nam a orci in ligula egestas rutrum non at mauris. Suspendisse luctus enim augue, non ullamcorper leo porta et. Praesent sit amet semper tortor.</p>

<div class="p">
	<div class="left">左寄せ.</div>
</div>

<div class="p">
	<div class="center">中央配置</div>
</div>

<div class="p">
	<div class="right">右寄せ</div>
</div>

<div class="p">
	<ul>
		<li>リスト</li>
		<li>リスト</li>
	</ul>
</div>

<div class="p">
	<ol>
		<li>リスト</li>
		<li>リスト</li>
	</ol>
</div>

<div class="p">

	<ol class="nostyle">
		<li>マーカーなしリスト</li>
		<li>マーカーなしリスト</li>
	</ol>
</div>

<div class="p box action">ボックスです。 <a href="">リンク</a></div>
<div class="p box info">infoなどのボックスです。 <a href="">リンク</a></div>
<div class="p box error">errorなどのボックスです。 <a href="">リンク</a></div>
<div class="p box success">successなどのボックスです。 <a href="">リンク</a></div>

<form class="p">
	<div>
		<input value="inputです">
	</div>
	<div>
		<input type="button" value="ボタンです">
	</div>
	<div>
		<input type="button" class="disabled" value="disabledなボタンです" disabled="disabled">
	</div>
	<br>
	<div>
		<input type="submit" value="submitボタンです">
	</div>

	<div>
		<textarea>textareaです</textarea>
	</div>
</form>

<table>
	<tr>
		<th>1</th>
		<th>2</th>
		<th>3</th>
	</tr>
	<tr>
		<td>テーブルです</td>
		<td>テーブルです</td>
		<td>テーブルです</td>
	</tr>
	<tr class="nostyle">
		<td>borderなしのテーブルです</td>
		<td>borderなしのテーブルです</td>
		<td>borderなしのテーブルです</td>
	</tr>
</table>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console