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.


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.


                <div class="container measure-wide center fw3">
	<div class="header pv4">
		<h2 class="mt0 fw4 f5 mb0">Santiago, Chile</h2>
		<h1 class="mv0 fw4 f2">Kiara</h1>
	<div class="trophies flex flex-column justify-around items-center ba b--black-40 bw1 br2 pa3">
		<img class="mb3" src="" alt="care">
		<img class="mb3" src="" alt="star">
		<img class="mb3" src="" alt="bone">
		<img class="mb3" src="" alt="pet house">
		<img class="mb3" src="" alt="food">
		<img src="" alt="collar">
	<div class="info flex pl3 ba b--black-40 bw1 br2">
		<dl class="flex flex-column justify-around">
			<div><dt class="ttu tracked f7 fw6 black-80 mb1">Gender</dt>
				<dd class="ml0">Feminine</dd>
			<div><dt class="ttu tracked f7 fw6 black-80 mb1">Breed</dt>
				<dd class="ml0">Yorkshire</dd>
			<div><dt class="ttu tracked f7 fw6 black-80 mb1">Age</dt>
				<dd class="ml0">8 Years</dd>
			<div><dt class="ttu tracked f7 fw6 black-80 mb1">Family</dt>
				<dd class="ml0">Henriquez</dd>
	<div class="photo br2">
		<img src="" alt="Kiara and me" class='br2'>
	<div class="bio bg-purple pa3 br2">
		<p class="lh-copy f5 white mv0">Kiara enjoys long naps on the beach (or any other place, really, she's not very demanding on that matter). Likes to to sunbath a lot. She's friendly with other dogs and very patient. She's a furry, chubby princess.</p>


                .container * {
	// outline: 1px solid red;

body {
	font-family: 'Montserrat', sans-serif

img {
	display: block;

.container {
	margin-top: 32px;
	margin-bottom: 32px;
	display: grid;
	grid-template-columns: 100px 1fr 1fr 150px;
	grid-template-rows: repeat(3, minmax(100px, max-content));
	grid-gap: 16px;
	grid-template-areas: 'h h h i'
		                    't p p i'
		                    't b b b'

.header {
	grid-area: h;
.trophies {
	grid-area: t;
	img {
		width: 36px;
.info {
	grid-area: i;
.photo {
	grid-area: p;
.bio {
	grid-area: b;


                // From: