JSFiddle - React, Tailwind, and code Playground
by Camuvingian
HTML
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css">
<link rel="stylesheet" href="http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.2/css/bootstrap-combined.min.css">
<div class="home-costing container">
<div class="row">
<div class="frame"> <span class="helper"></span>
<div class="col-md-6">
<img src="http://www.nijmegenindialoog.nl/wp-content/uploads/in.ico" height="256" width="256" />
</div>
<div class="col-md-6">
<h2>UserCost</h2>
<p>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
<br />
<br/>AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA</p> <a class="btn btn-default" href='#' role="button">
Learn More
</a>
</div>
</div>
</div>
</div>
CSS
html, body {
margin: 0;
padding: 0;
font-family:'Jura', sans-serif;
}
body {
background-color: #323232;
background-size: cover;
background-repeat: no-repeat;
color: #fff;
}
.container {
margin: 0 auto;
max-width: 1200px;
padding: 0 10px;
}
.header {
text-align: center;
text-transform: uppercase;
height: 60px;
background: rgba(0, 0, 0, 0.3);
padding: 0 10px;
}
.header h1 {
text-align: center;
margin: 10px 0;
}
.home-costing .btn {
background-color: #1c1c1c;
color: #fff;
font-size: 18px;
padding: 8px 30px;
text-decoration: none;
}
.home-costing .btn:hover {
background-color: #4072b4;
box-shadow:0px 1px 6px rgba(0, 0, 0, 0.6);
border-radius:0;
color: #ff6500;
text-decoration: none;
transition:box-shadow 0.25s;
cursor: pointer;
}
.home-costing {
color: #fff;
text-align: center;
padding: 50px 0;
border-bottom: 1px solid #ff6500;
}
.home-costing h2 {
text-transform: uppercase;
font-size: 60px;
}
.home-costing p {
font-size: 18px;
}
.home-costing .frame {
height: 256px;
width: 256px;
border: 0;
white-space: nowrap;
text-align: center;
margin: 1em 0;
}
.home-costing .helper {
display: inline-block;
height: 100%;
vertical-align: middle;
}
.home-costing img {
vertical-align: middle;
max-height: 256px;
max-width: 256px;
}