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. You can use the CSS from another Pen by using it's URL and the proper URL extention.

+ 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

              
                .wrap

	h2 リンク一覧

	.block
		ul
			li
				a(href="http://c-brains.jp", target="_blank") シーブレイン
			li
				a(href="http://bashalog.c-brains.jp/", target="_blank") バシャログ
			li
				a(href="http://tsubolog.c-brains.jp/", target="_blank") つぼログ
			li
				a(href="https://localization.c-brains.jp/translation_services/", target="_blank") ゼロからの翻訳会社選び
			li
				a(href="http://c-brains.jp/blog/niidome/", target="_blank") 馬車道の社長日記

	.block

		ul
			li
				a(href="https://www.google.co.jp/", target="_blank") Google
			li
				a(href="https://www.yahoo.co.jp/", target="_blank") Yahoo!
			li
				a(href="https://www.goo.ne.jp/", target="_blank") goo
			li
				a(href="https://www.msn.com/ja-jp", target="_blank") msn
			li
				a(href="https://www.biglobe.ne.jp/", target="_blank") BIGLOBE

.wrap
	h2 テスト
              
            
!

CSS

              
                *
	box-sizing: border-box

body
	padding: 10px
	background: #EEE

.wrap
	max-width: 900px
	margin: 20px auto 0
	&:first-child
		margin: 0 auto
	&:after
		content: ' '
		display: block
		clear: both

h2
	padding: 5px 10px 5px 8px
	border-left: 2px #FCC solid
	background: #FFF
	font-weight: 700

.block
	float: left
	width: 50%
	margin: 10px 0 0
	padding: 10px
	border: 1px #CCC solid
	background: #FFC
	ul
		margin: -5px 0 0 -15px
		&:after
			content: ' '
			display: block
			clear: both
	li
		display: block
		float: left
		margin: 5px 0 0 15px
		a
			color: #333
			&:before
				content: '\f299'
				display: inline-block
				margin: 0 5px 0 0
				font-family: FontAwesome

@media screen and (max-width: 768px)
	.wrap
		margin: 0
	
	h2
		border: none
		background: #FCC

	.block
		float: none
		width: 100%
		margin: 0
		padding: 0
		border: 0
		background: none
		ul
			margin: 0
			&:after
				display: none
		li
			width: 50%
			margin: 0
			border-bottom: 1px #CCC dotted
			a
				display: block
				position: relative
				padding: 10px 25px 10px 10px
				background: #FFF
				text-decoration: none
				&:before
					content: '\f054'
					display: block
					position: absolute
					top: 50%
					right: 10px
					margin: -8px 0 0

              
            
!

JS

              
                
              
            
!
999px

Console