Pen Settings



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


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.


		h1 Breakfast Dinner
		p Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa. Cum sociis natoque penatibus et magnis dis parturient montes.
		a.btn Show me more recipse 


                body {background: #fff;}

.card {
	background: #fff;
	width: 250px;
	height: 500px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	border-radius: 5px;
	box-shadow: 0px 10px 70px rgba(0, 0, 0, 0.15);

	height: 35%;
	width: 100%;
	padding: 0px;
	overflow: hidden;

	height: 100%;
	width: 100%;
	background: url( left center;
	background-size: 100%;
	border-radius: inherit;
	transition: all ease-in-out .4s;

.card:hover .header-img{
	transform: scale(1.25) rotate(2deg);

.card-title {
	font-family: 'Lato', sans-serif;
	font-size: 14px;
	line-height: 18px;
	padding: 15px;

.card-title h1 {
	font-family: 'Catamaran', sans-serif;
	text-transform: uppercase;
	font-size: 30px;
	line-height: 30px;
	padding: 0px;

.btn {
	padding: 10px 20px;
	position: absolute;
	width: 60%;
	left: 50%;
	bottom: 30px;
	transform: translate(-50%, 0%);
	border: 1px solid turquoise;
	border-radius: 100px;
	text-align: center;
	transition: all ease-in-out .2s;
	cursor: pointer;
	&:hover {
		background: turquoise;
		color: #fff;