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.


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.


                <div class="container">
	<input id="rad1" type="radio" name="rad" checked>
	<section style="background: rgba(63,81,181,1)">
		<i class="fa fa-anchor"></i>
		<h1>Sit Amet</h1>
		<p>Pellentesque mattis tellus ligula, id scelerisque massa euismod sed. Phasellus et fringilla justo. Praesent eros ipsum, rhoncus vel lacus ut, dictum interdum risus</p>
		<label for="rad3"><i class="fa fa-chevron-left"></i></label>
		<label for="rad2"><i class="fa fa-chevron-right"></i></label>
	<input id="rad2" type="radio" name="rad">
	<section style="background: rgba(0,150,136,1)">
		<i class="fa fa-line-chart"></i>
		<h1>Lobortis Blandit</h1>
		<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus pretium ac ex nec tincidunt.</p>
		<label for="rad1"><i class="fa fa-chevron-left"></i></label>
		<label for="rad3"><i class="fa fa-chevron-right"></i></label>
	<input id="rad3" type="radio" name="rad">
	<section style="background: rgba(255,193,7,1)">
		<i class="fa fa-shopping-basket"></i>
		<h1>Aliquet Ullamcorper</h1>
		<p>Interdum et malesuada fames ac ante ipsum primis in faucibus. Vestibulum nunc ligula, bibendum laoreet ligula id, aliquet ullamcorper erat. Donec eget tellus ut nunc maximus faucibus.</p>
		<label for="rad2"><i class="fa fa-chevron-left"></i></label>
		<label for="rad4"><i class="fa fa-chevron-right"></i></label>
	<input id="rad4" type="radio" name="rad">
	<section style="background: rgba(233,30,99,1)">
		<i class="fa fa-heart"></i>
		<p>Vivamus pretium ac ex nec tincidunt.</p>
		<label for="rad3"><i class="fa fa-chevron-left"></i></label>
		<label for="rad1"><i class="fa fa-chevron-right"></i></label>
</div><!-- /.container -->



	display none
				display block

	font-family 'Open Sans', sans-serif
	font-weight lighter
	margin 0

	position absolute
	width 100%
	height 100%;
		display none
		height 100%
		padding 15px
		background #449DF5
		color white
		text-align center
			margin-bottom 0
			font-family 'Nunito', sans-serif
			font-weight lighter
			font-size 2em
			width 75%
			margin 0 auto
			padding 10px
			position absolute
			display inline-block
			cursor pointer
			font-size 1.5em
			top 50%
				right 120px
				left 120px
				font-size 6em !important
				margin-top 50px
				margin-bottom 25px



                // no js here.