123

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

You're using npm packages, so we've auto-selected Babel for you here, which we require to process imports and make it all work. If you need to use a different JavaScript preprocessor, remove the packages in the npm tab.

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

Use npm Packages

We can make npm packages available for you to use in your JavaScript. We use webpack to prepare them and make them available to import. We'll also process your JavaScript with Babel.

⚠️ This feature can only be used by logged in users.

Code Indentation

     

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.

HTML Settings

Here you can Sed posuere consectetur est at lobortis. Donec ullamcorper nulla non metus auctor fringilla. Maecenas sed diam eget risus varius blandit sit amet non magna. Donec id elit non mi porta gravida at eget metus. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

            
              <div class="infopanel is-active">
	<h2 class="tile__headline">Lorem ipsum dolor sit amet.</h2>

	<div class="tile__system tile--layout9">

		<div class="tile__content tile__style--default">
			<h3>Lorem ipsum dolor.</h3>

			<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Voluptas, commodi, cumque. Eum iste provident, distinctio odit sed officia. Enim fugit, illo, eum eos neque hic adipisci explicabo labore earum provident odit, numquam doloribus reprehenderit alias consequuntur. </p>
			
			<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Reiciendis enim debitis velit, fugit magnam, perspiciatis blanditiis expedita consequuntur ducimus ipsa possimus ipsum amet. Saepe, nihil.</p>
		</div>

		<div class="tile__content tile__style--alternate">
			<h3>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Recusandae, minima.</h3>

			<h3>Lorem</h3>
			<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Neque sit minima consequuntur atque tempora magnam commodi, ducimus velit ex recusandae molestiae cumque, necessitatibus sint fugit illo, praesentium dolorem earum non.</p>
			<h3>Lorem</h3>
			<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
		</div>

		<div class="tile__content tile__style--default">
			<h3>Lorem ipsum dolor sit amet, consectetur.</h3>
			<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Possimus, debitis quod qui a quisquam ad sit excepturi rem expedita numquam, cumque eius. Natus ullam beatae ipsa vero, blanditiis quidem optio quia sapiente mollitia. Quos rem exercitationem
				explicabo dolorem! Maxime, nihil facere magni repudiandae mollitia consequuntur nulla pariatur minus dignissimos ab, architecto iusto numquam eum harum suscipit laborum fuga, ipsum sint inventore. Perferendis quam esse nesciunt eos aut dolore provident
				optio.</p>

			<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Odit aut consectetur at obcaecati laudantium corporis rerum modi architecto, incidunt quam quas vitae consequuntur perferendis quaerat, provident autem neque laboriosam quisquam dignissimos.
				Quaerat quis fuga doloribus laboriosam cumque, maiores, ut cum! Reprehenderit quaerat labore adipisci iusto. Facere nihil aliquam pariatur ipsa. Lorem ipsum dolor sit amet, consectetur adipisicing elit.</p>
		</div>

		<div class="tile__content tile__style--alternate">
			<img src="https://source.unsplash.com/category/objects/600x200" alt="graphic" />
		</div>

		<div class="tile__content tile__style--highlight">
			<blockquote>
				<q>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Itaque, provident.</q>
			</blockquote>
		</div>

	</div>

</div>
            
          
!
            
              .infopanel {
	background-color: #dee5e7;
	padding: 2rem;
	margin: 2rem;
}

.tile__headline {
	border-left: 4px solid #edf1f2;
	color: red;
	font-size: 2rem;
	font-weight: 300;
	padding-left: 0.5em;
	margin-top: 0;
}

.tile__content {
	padding: 1em;
	margin-bottom: 10px;

	@media (min-width: 50em) {
		margin-bottom: 0;
	}
}

.tile__style--default {
	background-color: #edf1f2;
}

.tile__style--alternate {
	background-color: #fff;
}

.tile__style--highlight {
	background-color: #003947;
	color: #fff;
}


@media (min-width: 50em) {
	.tile--layout9 {
		display: grid;
		grid-template-columns: 4fr 4fr 6fr;
		grid-gap: 10px;

		> :nth-child(3) {
			grid-row: 1 / span 2;
		}

		> :nth-child(4) {
			grid-column: 1 / span 2;
			grid-row: 2 / span 2;
		}

		> :nth-child(5) {
			grid-column: 3 / span 1;
			grid-row: 3 / span 1;
		}
	}

}


img {
	width: 100%;
	max-height: 100%;
	object-fit: cover;
	vertical-align: bottom;
}

blockquote {
	text-align: center;
	display: flex;
	align-items: center;
	height: 100%;
	padding: 1em;
}

q {
	font-size: 1.25rem;
	align-self: center;
}



// defaults
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

h3:first-child,
p:first-child {
	margin-top: 0;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

blockquote {
	margin: 0;
}

q {
	quotes: '„' '“' '\2039' '\203A';
}
            
          
!
999px
🕑 One or more of the npm packages you are using needs to be built. You're the first person to ever need it! We're building it right now and your preview will start updating again when it's ready.

Console