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

              
                <header>
	<nav>
		<a href="#">ロゴテスト</a>
		<ul>
			<li><a href="javascript:void(0)">ナビ1 navの中のli</a></li>
			<li><a href="javascript:void(0)">ナビ2</a></li>
			<li><a href="javascript:void(0)">ナビ3</a></li>
			<li><a href="javascript:void(0)">ナビ4</a></li>
			<li><a href="javascript:void(0)">ナビ3</a></li>
			<li><a href="javascript:void(0)">ナビ4</a></li>
		</ul>
	</nav>
	<h1>MVPCSSを試してみました! headerタグの中のh1です。</h1>
</header>

<hr>

<main>

<article>
	<header><h2>テーブル</h2></header>
	<p>
		<strong>pタグです。</strong>ここは説明文をいれるここは説明文をいれる。ここは説明文をいれるここは説明文をいれる。<br />
		ここは説明文をいれるここは説明文をいれる。ここは説明文をいれる。
	</p>
	<p>
		<a href="#"><i>aタグの中にiタグ</i></a>
		<a href="#"><strong>すとろんぐaタグ</strong></a>
	</p>
	
	<p>
		<aside><p>補足的な内容</p></aside>
	</p>
	
	<section>
		<header><h3>h3タイトルです</h3></header>
		<table>
			<thead>
				<tr>
					<th>行のたいとる</th>
					<th>行のたいとる</th>
					<th>行のたいとる</th>
				</tr>
			</thead>
			<tbody>
				<tr>
					<td>ないよう</td>
					<td>ないよう</td>
					<td>ないよう</td>
				</tr>
				<tr>
					<td>ないよう</td>
					<td>ないよう</td>
					<td>ないよう</td>
				</tr>
			</tbody>
		</table>
	</section>
	
</article>

<hr>

<section>
	<header>
		<h2>リスト</h2>
		<p>ちょっとしたせつめい文</p>
	</header>
	<section>
		<div>
		<h3>ulリスト</h3>
		<ul>
			<li>あれと</li>
			<li>これと</li>
			<li>それと</li>
			<li>どれと?</li>
		</ul>
		</div>
		<div>
		<h3>olリスト</h3>
		<ol>
			<li>あれと</li>
			<li>これと</li>
			<li>それと</li>
			<li>どれと?</li>
		</ol>
		</div>
	</section>
</section>

<hr>

<section>
	<header>
		<h2>フォームたち</h2>
		<p>資料がほしい人はここに入力するよ</p>
	</header>
	<form>
		<p> テストテキスト
		<input type="text" />
		</p>

		<p> テストテキストエリア
		<textarea></textarea>
		</p>
		<p>
			<label><input type="checkbox"> チェック1</label>
			<label><input type="checkbox"> チェック2</label>
			<label><input type="checkbox"> チェック3</label>
			<label><input type="checkbox"> チェック4</label>
			<label><input type="checkbox" disabled="disabled"> チェック5</label>
		</p>
		<p>
			<button type="button" disabled="disabled">disaボタンだよ</button>
			<button type="button">ボタンだよ</button>
			<button type="submit">submitだよ</button>
		</p>
	</form>
</section>

</main>

              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console