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

              
                <div class="wrapper">

	<div class="inner-content">
		<div class="container">
			<div class="section-head">
				<h2>Latest Bits</h2>
			</div>

			<div class="row">
				<div class="col-md-8">

					<article class="style2">
						<div class="row">
							<div class="col-md-6 col-sm-6">
								<a href="http://www.google.com">
									<div class="article-thumb">
										<img src="https://place-hold.it/370x231/5" class="img-responsive" alt=""/>
									</div>
								</a>
							</div>
							<div class="col-md-6 col-sm-6">
								<div class="post-excerpt">
									
									<h3><a href="http://www.google.com">This is my first article</a></h3>
									<div class="meta">
										<span>by <a href="#" class="link">Benjamin K.</a></span>
										<span>on Sep 23, 2016</span>
										<span class="comment"><i class="fa fa-comment-o"></i> 1</span>
									</div>
									<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco</p>
									<a href="http://www.google.com" class="small-title rmore">Read More</a>
								</div>
							</div>
						</div>
					</article>

					<article class="style2">
						<div class="row">
							<div class="col-md-6 col-sm-6">
								<a href="../17_post_01.html">
									<div class="article-thumb">
										<img src="https://place-hold.it/370x231/15" class="img-responsive" alt=""/>
									</div>
								</a>
							</div>
							<div class="col-md-6 col-sm-6">
								<div class="post-excerpt">
									
									<h3><a href="./17_post_01.html">Disney Stock Falls On Takeover Rumor</a></h3>
									<div class="meta">
										<span>by <a href="#" class="link">Jacob Paul</a></span>
										<span>on Sep 23, 2016</span>
										<span class="comment"><i class="fa fa-comment-o"></i> 1</span>
									</div>
									<p>Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae</p>
									<a href="#" class="small-title rmore">Read More</a>
								</div>
							</div>
						</div>
					</article>

					<article class="style2">
						<div class="row">
							<div class="col-md-6 col-sm-6">
								<a href="http://www.bbc.co.uk">
									<div class="article-thumb">
										<img src="https://place-hold.it/370x231/666" class="img-responsive" alt=""/>
									</div>
								</a>
							</div>
							<div class="col-md-6 col-sm-6">
								<div class="post-excerpt">
									
									<h3><a href="http://www.bbc.co.uk">1914 translation by H. Rackham</a></h3>
									<div class="meta">
										<span>by <a href="#" class="link">Rackham H.</a></span>
										<span>on Sep 23, 2016</span>
										<span class="comment"><i class="fa fa-comment-o"></i> 1</span>
									</div>
									<p>At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga</p>
									<a href="#" class="small-title rmore">Read More</a>
								</div>
							</div>
						</div>
					</article>				
				</div>

</div>
              
            
!

CSS

              
                .wrapper {
	position: relative;
	width: 100%;
	overflow: hidden;
}

.inner-content {
	padding: 50px 0 57px;
}

.container {
	max-width: 700px;
	width: 100%;
	margin: 0 auto;
}

.section-head {
	margin-bottom: 22px;
}

.section-head h2 {
	font-weight: 300;
}

article.style2 {
	padding-bottom: 30px;
	margin-bottom: 30px;
}

article {
	border-bottom: 1px solid #eeeeee;
	padding-bottom: 15px;
	margin-bottom: 30px;
}

article .article-thumb {
	position: relative;
	overflow: hidden;
	background: #fff;
}

article:hover .article-thumb {
	background: #000;
}

article .article-thumb img {
	width: 100%;
}

article .article-thumb img {
}

article .article-thumb:hover img {
}

article .post-excerpt {
	padding: 9px 0;
}

article .meta {
	margin-top: 2px;
}

.meta span {
	font-size: 14px;
	color: #787878;
}


a.link:hover, a {
	color: #333;
}

a.link, a:hover {
	color: #33ccff;
}

.small-title {
	font-size: 10px;
	letter-spacing: 0.10em;
	font-weight: bold;
	line-height: 18px;
	color: #333333;
	margin-bottom: 5px;
	text-transform: uppercase;
}
              
            
!

JS

              
                
              
            
!
999px

Console