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

              
                <!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8">
		<title>Multiple-column Layout: Task 3</title>
		<link rel="stylesheet" href="task-three.css">
	</head>
	<body>
		<div class="container">
			<p>Veggies es bonus vobis, proinde vos postulo essum magis kohlrabi welsh onion daikon amaranth tatsoi 
			tomatillo melon azuki bean garlic.</p>

			<p>Gumbo beet greens corn soko endive gumbo gourd. Parsley shallot courgette tatsoi pea sprouts fava bean 
			collard greens dandelion okra wakame tomato. Dandelion cucumber earthnut pea peanut soko zucchini.</p>

			<div class="box">
				<h2>I am a level 2 heading</h2>
				<div class="subhead">Lotus root water spinach fennel</div>
			</div>

			<p>Turnip greens yarrow ricebean rutabaga endive cauliflower sea lettuce kohlrabi amaranth water spinach 
			avocado daikon napa cabbage asparagus winter purslane kale. Celery potato scallion desert raisin horseradish 
			spinach carrot soko. Lotus root water spinach fennel kombu maize bamboo shoot green bean swiss chard seakale pumpkin 
			onion chickpea gram corn pea.</p>
		</div>
	</body>
</html>
              
            
!

CSS

              
                body {
	background-color: #fff;
	color: #333;
	font: 1.2em / 1.5 'Helvetica Neue', Helvetica, Arial, sans-serif;
	padding: 1em;
	margin: 0;
}

* {
	box-sizing: border-box;
}

.container {
	columns: 3;
}

.box {
	text-align: center;
	margin: 1em 0;
	column-span: all;
}

.box h2 {
	margin: 0;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	column-gap: 0.5em;
	align-items: center;
}

.box h2:before, .box h2:after {
	content: "";
	border-bottom: 5px dotted #ccc;
}

.subhead {
	font-style: italic;
}
              
            
!

JS

              
                
              
            
!
999px

Console