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

              
                <div class="container">
	<div class="card-columns">
		<div class="card">
			<img alt="Card image cap" class="card-img-top img-fluid" src="https://www.fillmurray.com/420/200">
			<div class="card-block">
				<h4 class="card-title">Boating is the new canoeing</h4>
				<p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
			</div>
		</div>
		<div class="card">
			<img alt="Card image cap" class="card-img-top img-fluid" src="https://www.fillmurray.com/414/200">
			<div class="card-block">
				<h4 class="card-title">This almost brought the Internet to its knees</h4>
				<p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
			</div>
		</div>
		<div class="card">
			<img alt="Card image cap" class="card-img-top img-fluid" src="https://www.fillmurray.com/412/200">
			<div class="card-block">
				<h4 class="card-title">Try not to gasp when you find out who painted this.</h4>
				<span class="badge badge-success">Health</span>
				<p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
			</div>
		</div>
		<div class="card">
			<img alt="Card image cap" class="card-img-top img-fluid" src="https://www.fillmurray.com/411/200">
			<div class="card-block">
				<h4 class="card-title">Lower back pain treatments</h4>
				<span class="badge badge-warning">Health</span>
				<p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
			</div>
		</div>
		<div class="card">
			<img alt="Card image cap" class="card-img-top img-fluid" src="https://www.fillmurray.com/415/200">
			<div class="card-block">
				<h4 class="card-title">How to keep a straight face</h4>
				<span class="badge badge-primary">Social</span>
				<p class="card-text">Keeping a straight face in a conversation can be more difficult than it seems.</p>
			</div>
		</div>		
		<div class="card p-3">
			<blockquote class="card-block card-blockquote">
				<p>Of course I talk to myself, sometimes I need an expert opinion.</p>
				<footer>
					<small class="text-muted">William James Murray <cite title="Source Title">Caddyshack</cite></small>
				</footer>
			</blockquote>
		</div>
		<div class="card">
			<img alt="Card image cap" class="card-img-top img-fluid" src="https://www.fillmurray.com/360/200">
			<div class="card-block">
				<h4 class="card-title">Best Horror Movies of 2017</h4>
				<span class="badge badge-info">Movies</span>
				<p class="card-text"></p>
				<p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p>
			</div>
		</div>
		<div class="card card-inverse card-primary p-3 text-center">
			<blockquote class="card-blockquote">
				<p>Movie acting suits me because I only need to be good for ninety seconds at a time.</p>
				<footer>
					<small>Billy Murray</small>
				</footer>
			</blockquote>
		</div>
		<div class="card text-center">
			<div class="card-block">
				<h4 class="card-title">Deep-thoughts</h4>
				<p class="card-text">Sometimes I snore, like when I get really tired.</p>
				<p class="card-text"><small class="text-muted">Willy M Murray</small></p>
			</div>
		</div>
		<div class="card"><img alt="Card image" class="card-img img-fluid" src="https://www.fillmurray.com/400/200"></div>
		<div class="card p-3 text-right">
			<blockquote class="card-blockquote">
				<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
				<footer>
					<small class="text-muted">Someone famous in <cite title="Source Title">Source Title</cite></small>
				</footer>
			</blockquote>
		</div>
		<div class="card">
			<div class="card-block">
				<h4 class="card-title">Golf Tales</h4>
				<p class="card-text">When you see grown men near to tears because they've missed hitting a little white ball into a hole from three feet, it makes you laugh.</p>
				<p class="card-text"><small class="text-muted">Bill M</small></p>
			</div>
		</div>		
	</div>
	<div class="card-columns d-none">
		<div class="card">
			<img alt="Card image cap" class="card-img-top img-fluid" src="https://www.fillmurray.com/414/200">
			<div class="card-block">
				<h4 class="card-title">This almost brought the Internet to its knees</h4>
				<p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
			</div>
		</div>
		<div class="card">
			<img alt="Card image cap" class="card-img-top img-fluid" src="https://www.fillmurray.com/412/200">
			<div class="card-block">
				<h4 class="card-title">Try not to gasp when you find out who painted this.</h4>
				<span class="badge badge-success">Health</span>
				<p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
			</div>
		</div>
		<div class="card">
			<img alt="Card image cap" class="card-img-top img-fluid" src="https://www.fillmurray.com/411/200">
			<div class="card-block">
				<h4 class="card-title">Lower back pain treatments</h4>
				<span class="badge badge-warning">Health</span>
				<p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
			</div>
		</div>
		<div class="card card-inverse card-primary p-3 text-center">
			<blockquote class="card-blockquote">
				<p>Movie acting suits me because I only need to be good for ninety seconds at a time.</p>
				<footer>
					<small>Billy Murray</small>
				</footer>
			</blockquote>
		</div>		
		<div class="card">
			<img alt="Card image cap" class="card-img-top img-fluid" src="https://www.fillmurray.com/415/200">
			<div class="card-block">
				<h4 class="card-title">How to keep a straight face</h4>
				<span class="badge badge-primary">Social</span>
				<p class="card-text">Keeping a straight face in a conversation can be more difficult than it seems.</p>
			</div>
		</div>
		<div class="card">
			<img alt="Card image cap" class="card-img-top img-fluid" src="https://www.fillmurray.com/420/200">
			<div class="card-block">
				<h4 class="card-title">Boating is the new canoeing</h4>
				<p class="card-text">This is a longer card with supporting text below as a natural lead-in to additional content. This content is a little bit longer.</p>
			</div>
		</div>		
		<div class="card">
			<div class="card-block">
				<h4 class="card-title">Golf Tales</h4>
				<p class="card-text">When you see grown men near to tears because they've missed hitting a little white ball into a hole from three feet, it makes you laugh.</p>
				<p class="card-text"><small class="text-muted">Bill M</small></p>
			</div>
		</div>			
		<div class="card p-3">
			<blockquote class="card-block card-blockquote">
				<p>Of course I talk to myself, sometimes I need an expert opinion.</p>
				<footer>
					<small class="text-muted">William James Murray <cite title="Source Title">Caddyshack</cite></small>
				</footer>
			</blockquote>
		</div>
		<div class="card">
			<img alt="Card image cap" class="card-img-top img-fluid" src="https://www.fillmurray.com/360/200">
			<div class="card-block">
				<h4 class="card-title">Best Horror Movies of 2017</h4>
				<span class="badge badge-info">Movies</span>
				<p class="card-text"></p>
				<p class="card-text"><small class="text-muted">Last updated 3 mins ago</small></p>
			</div>
		</div>
		<div class="card text-center">
			<div class="card-block">
				<h4 class="card-title">Deep-thoughts</h4>
				<p class="card-text">Sometimes I snore, like when I get really tired.</p>
				<p class="card-text"><small class="text-muted">Willy M Murray</small></p>
			</div>
		</div>
		<div class="card"><img alt="Card image" class="card-img img-fluid" src="https://www.fillmurray.com/400/200"></div>
		<div class="card p-3 text-right">
			<blockquote class="card-blockquote">
				<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
				<footer>
					<small class="text-muted">Someone famous in <cite title="Source Title">Source Title</cite></small>
				</footer>
			</blockquote>
		</div>
	
	</div>	
</div>
              
            
!

CSS

              
                // [class*="col-"] {
//     padding-top: 1rem;
//     padding-bottom: 1rem;
//     background-color: rgba(86,61,124,.15);
//     border: 1px solid rgba(86,61,124,.2);
// }

body {
	margin:20px;
}
              
            
!

JS

              
                
              
            
!
999px

Console