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 is required to process package imports. If you need a different preprocessor remove all packages first.

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

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 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.

HTML

              
                <div class="container">
	<div class="row row-flex-wrapper">
		<div class="column col-sm-6 col-md-4">
			<div class="block">
				<h2>Title 1</h2>
				<div class="block-list">
					<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
				</div>
				<div class="bottom">
					<ul class="clean-list">
						<li><a href="/button">Some link</a></li>
						<li><a href="/button">Some link 2</a></li>
					</ul>
				</div>
			</div>
		</div>
		<div class="column col-sm-6 col-md-4">
			<div class="block">
				<h2>Another very long title which is actually toooo long...</h2>
				<div class="block-list">
					<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer...</p>
				</div>
				<div class="bottom">
					<ul class="clean-list">
						<li><a href="/another-button">Another button</a></li>
					</ul>
				</div>
			</div>
		</div>
		<div class="column col-sm-6 col-md-4">
			<div class="block">
				<h2>Title</h2>
				<div class="block-list">
					<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. 
						Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer,
						Lorem Ipsum has been the industry's standard dummy text...</p>
				</div>
				<div class="bottom">
					<ul class="clean-list">
						<li><a href="/button">Very nice link</a></li>
					</ul>
				</div>
			</div>
		</div>
		<div class="column col-sm-6 col-md-4">
			<div class="block">
				<h2>This block is cool!</h2>
				<div class="block-list">
					<p>Some text here. Lorem Ipsum is simply dummy text of the printing and typesetting industry.
						Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer,
						Lorem Ipsum has been the industry's standard dummy text...</p>
				</div>
				<div class="bottom">
					<ul class="clean-list">
						<li><a href="/button">Another link</a></li>
						<li><a href="/button">Check this item</a></li>
					</ul>
				</div>
			</div>
		</div>
		<div class="column col-sm-6 col-md-4">
			<div class="block">
				<h2>Title Block</h2>
				<div class="block-list">
					<p>Go check out this item... Lorem Ipsum is simply dummy text of the printing and typesetting industry.
						Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer,
						Lorem Ipsum has been the industry's standard dummy text...</p>
				</div>
				<div class="bottom">
					<ul class="clean-list">
						<li><a href="/button">Button</a></li>
					</ul>
				</div>
			</div>
		</div>
		<div class="column col-sm-6 col-md-4">
			<div class="block">
				<h2>Buttonssssss</h2>
				<div class="block-list">
					<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>	
				</div>
				<div class="bottom">
					<ul class="clean-list">
						<li><a href="#button">Button</a></li>
					</ul>
				</div>
			</div>
		</div>
		
		<div class="column col-sm-6 col-md-4">
			<div class="block">
				<h2>Title</h2>
				<div class="block-list">
					<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry.</p>
				</div>
				<div class="bottom">
					<ul class="clean-list">
						<li><a href="/button">Link to item</a></li>
						<li><a href="/button">Link to item</a></li>
					</ul>
				</div>
			</div>
		</div>
		<div class="column col-sm-6 col-md-4">
			<div class="block">
				<h2>Title</h2>
				<div class="block-list">
					<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
				</div>
				<div class="bottom">
					<ul class="clean-list">
						<li><a href="/button">Link to item</a></li>
					</ul>
				</div>
			</div>
		</div>
		<div class="column col-sm-6 col-md-4">
			<div class="block">
				<h2>Another very very very very very very very long title</h2>
				<div class="block-list">
					<p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
				</div>
				<div class="bottom">
					<ul class="clean-list">
						<li><a href="/button">Button to item</a></li>
					</ul>
				</div>
			</div>
		</div>
	</div>
</div>
              
            
!

CSS

              
                
		h1, h2, h3 {
			margin: 0;
		}

		body {
			margin: 0;
			padding: 0;
		}



		ul.clean-list {
			margin: 0;
			padding: 0;
		}
		ul.clean-list li {
			list-style: none;
			margin-bottom: 5px;
		}
		li:last-child {
			margin-bottom: 0;
		}

		.container {
			padding-top: 50px;
		}

		.block {
			margin-bottom: 30px;
			border: 1px solid red;
		}
		.block > .bottom {
			border: 1px solid blue;
		}

		@media only screen and (min-width:480px) {
			.row.row-flex-wrapper::before,
			.row.row-flex-wrapper::after {
				content: none !important;
			}
			.row.row-flex-wrapper::after {
				clear: none;
			}
			.row.row-flex-wrapper {
				display: -webkit-flex;
				display: -ms-flexbox;
				display: flex;

				flex-wrap: wrap;
				-webkit-flex-wrap: wrap;
				-ms-flex-wrap: wrap;
			}
			.row.row-flex-wrapper .column {
				display: -webkit-flex;
				display: -ms-flexbox;
				display: flex;

				float: none;

				border: 1px solid orange;
			}
			.row.row-flex-wrapper .column > .block {
				display: -webkit-flex;
				display: -ms-flexbox;
				display: flex;

				flex-direction: column;
				-ms-flex-direction: column;
				-webkit-flex-direction: column;
			}
			.row.row-flex-wrapper .column > .block > .block-list {
				flex: 1 0 auto;
				-ms-flex: 1 0 auto;
				-webkit-flex: 1 0 auto;
			}
			.row.row-flex-wrapper .column > .block > h2 {

			}
		}

		@media only screen and (min-width:480px) and (max-width: 767px) {
			.container .row .column {
				width: 50%;
			}
		}
              
            
!

JS

              
                
              
            
!
999px

Console