<section>
<div class="card-container">
<div class="card">
<img src="https://placeimg.com/800/500/animals"/>
<div class="content">
<h3>What a cute animal!</h3>
<p>Nanotechnology immersion along the information highway will close the loop on focusing solely on the bottom line.</p>
</div>
</div>
<div class="card">
<img src="https://placeimg.com/800/500/arch"/>
<div class="content">
<h3>Architecture is wonderful.</h3>
<p>Override the digital divide with additional clickthroughs from DevOps.</p>
</div>
</div>
<div class="card">
<img src="https://placeimg.com/800/500/nature"/>
<div class="content">
<h3>Be one with mother nature.</h3>
<p>Capitalize on low hanging fruit to identify a ballpark value added activity to beta test.</p>
</div>
</div>
<div class="card">
<img src="https://placeimg.com/800/500/people"/>
<div class="content">
<h3>There's billions of people, let's be excellent to them.</h3>
<p>Leverage agile frameworks to provide a robust synopsis for high level overviews.</p>
</div>
</div>
<div class="card">
<img src="https://placeimg.com/800/500/tech"/>
<div class="content">
<h3>Technology is life...</h3>
<p>Organically grow the holistic world view of disruptive innovation via workplace diversity and empowerment.</p>
</div>
</div>
<div class="card">
<img src="https://placeimg.com/800/500/any"/>
<div class="content">
<h3>Do you feel lucky?</h3>
<p>Iterative approaches to corporate strategy foster collaborative thinking to further the overall value proposition.</p>
</div>
</div>
</div>
</section>
html {
font-size: 62.5%;
}
body {
background: #F0F0F0;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
.card-container {
max-width: 1280px;
margin: 0 auto;
padding: 10px;
display: flex;
flex-flow: row wrap;
}
.card-container:hover .card {
opacity: .7;
cursor: pointer;
filter: grayscale(1);
}
.card-container .card {
margin: 10px;
width: calc(100% / 3 - 20px);
float: left;
box-shadow: 0 0 2px 2px rgba(0,0,0,.05);
background: #FFF;
-webkit-transition: .3s all ease;
transition: .15s all ease;
}
.card-container .card:hover {
box-shadow: 0 0 8px 3px rgba(0,0,0,.15);
transform: scale(1.025);
opacity: 1;
filter: grayscale(0);
transition: .35s all ease;
}
.card-container .card img {
width: 100%;
padding: 0;
margin: 0;
}
.card-container .card .content {
padding: 15px 20px;
}
.card-container .card h3 {
font: 2.8rem/3.4rem 'Bree Serif', serif;
padding: 0;
margin: 0 0 10px;
letter-spacing: -.075rem
}
.card-container .card p {
color: #888;
padding: 0;
margin: 0;
font: 400 1.6rem/2.2rem 'Open Sans script=all', sans-serif;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.