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

              
                <div class="md-w-75pc mx-auto">
	<h2>サンプル1</h2>

	<select class="select select-dark focus-indigo border-indigo bg-indigo white">
		<option>選択してください</option>
		<option>韓国グルメさいころの旅</option>
		<option>ベトナム縦断カブの旅</option>
		<option>アメリカ横断の旅</option>
	</select>

	<h2 class="mt-10">サンプル2</h2>
	<div class="flex flex-row-reverse bg-gray-light">
		<div class="white bg-blue p-3 m-1">ここをキャンプ地とする</div>
		<div class="white bg-blue p-3 m-1">シカでした</div>
		<div class="white bg-blue p-3 m-1">嘉永6年</div>
	</div>

	<h2 class="mt-10">サンプル3</h2>
	<button class="button bg-blue in-progress">やぁやぁ鈴井...</button>

	<h2 class="mt-10">サンプル4</h2>
	<div class="blue-red">
		<span
			class="fs-l5 roboto fw-900 text-stroke-yellow text-fill-transparent underline-indigo underline-wavy ls-widest">ようこそ九州へ!</span>
	</div>
	<h2 class="mt-10">サンプル5</h2>

	<form class="">
		<div class="flex">
			<input type="text" class="input m-2 flex-equal" placeholder="名前">
			<input type="email" class="input m-2 flex-equal" placeholder="メアド">
		</div>
		<div class="flex">
			<input type="password" class="input m-2 flex-equal" placeholder="パスワード">
			<input type="password" class="input m-2 flex-equal" placeholder="もっかいパスワード">
		</div>
		<div class="flex">
			<button class="button m-2 w-100pc">ろぐいん</button>
		</div>
	</form>
</div>
              
            
!

CSS

              
                
              
            
!

JS

              
                
              
            
!
999px

Console