<div class="container">
<div class="card">
<div class="img">
<img src="http://hivemodern.com/public_resources/eero-aarnio-ball-chair-adelta-1.jpg" alt="" />
</div>
<div class="content">
<h2>Global Chair</h2>
<h1>Eero Aarnio Style Ball Chair</h1>
<p>Our Reproduction of aarnio ball chair come in selection of colors and meets the archectical specifications of the original.</p>
<div class="buy">
<span class="price">$890</span>
<a href="#" class="btn">buy now</a>
</div>
</div>
</div>
</div>
// Colors
* {
box-sizing: border-box;
}
body {
margin: 0;
padding: 0;
font-family: 'source sans pro',lato,'open sans';
}
.container {
background: linear-gradient(to right, #D44E33, #ED784A, #F68654);
overflow: auto;
width: 100%;
height: 100%;
position: absolute;
}
.card {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #fff;
box-shadow: 0px 5px 20px rgba(0,0,0,0.2);
transition: all .3s ease;
&:hover {
box-shadow: 0px 10px 40px rgba(0,0,0,0.5);
}
.img {
width: 50%;
margin-top: 30px;
img {
max-width: 350px;
height: auto;
display: block;
padding: 30px;
}
float: left;
}
.content {
width: 50%;
float: left;
background-color: #F7F5F6;
position: relative;
padding: 40px;
}
h2 {
font-weight: normal;
letter-spacing: 3px;
font-size: 110%;
text-transform: uppercase;
margin-bottom: 10px;
color: #F49B6F;
}
h1 {
margin-top: 6px;
color: #2E2E2E;
margin-bottom: 15px;
}
p {
color: #A9A7A8;
margin-bottom: 30px;
}
}
.buy {
margin-left: 20px;
span.price {
font-size: 160%;
color: #949293;
margin-right: 20px;
}
}
a.btn {
text-decoration: none;
text-transform: uppercase;
letter-spacing: 2.2px;
background: #F47D3B;
padding: 10px 40px;
border-radius: 50px;
color: #fff;
box-shadow: 0px 0px 30px rgba(0,0,0,0.2);
transition: all 0.3s ease-in-out;
border: 1px solid #F47D3B;
margin-top: -10px;
&:hover {
box-shadow: 0px 4px 30px rgba(0,0,0,0.3);
//border: 2px solid #F47D3B;
color: #F47D3B;
background: transparent;
}
}
View Compiled
// Inspired From :https://dribbble.com/shots/2714495-Day-006-Product-Card
// Image From: http://hivemodern.com/public_resources/eero-aarnio-ball-chair-adelta-1.jpg
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.