JSFiddle - React, Tailwind, and code Playground
by LinkinTED
HTML
<div class="body-info">
<img class="image" src="http://kjrealty.com.au/testenvironment/Properties/9-Walter-Street-Claremont/Listing.jpg" />
<div class="wrap">
<h2><a href="Properties/9-Walter-Street-Claremont/Walter-Street.html">Walter Street <span>$2500/wk</span></a></h2>
<h3>Claremont, 6010</h3>
<p>Lorem Ipsum</p>
<div class="info">
<ul>
<li><img src="img/bedrooms.png" /> 5</li>
<li><img src="img/bathrooms.png" /> 3</li>
</ul>
</div>
</div>
CSS
body {
background: #EDEEF0;
}
.body-info {
background-color: #fff;
min-height: 200px;
-webkit-box-shadow: 0px 1px 1px rgba(0,0,0,0.1);
-moz-box-shadow: 0px 1px 1px rgba(0,0,0,0.1);
box-shadow: 0px 1px 1px rgba(0,0,0,0.1);
margin-bottom: 30px;
padding: 0px;
}
.image {
display: inline-block;
margin: 10px;
}
.wrap {
display: inline-block;
vertical-align: top;
}
.image a img:hover {
background-color: rgba(0,0,0,0.5);
background-image: url("img/eye.png");
background-position: center center;
background-repeat: no-repeat;
}
.body-info h2 a {
transition: color 0.2s ease-in;
-webkit-transition: color 0.2s ease-in;
color: #428f9c;
font-size: 23px;
font-weight: normal;
}
/* disabled for JSFiddle
.body-info {
margin-left: 280px;
}
*/
.body-info h2 a:hover {
color: #0b7587;
}
.body-info span {
margin-right: 15px;
color: #444;
}
.body-info p {
color: #777;
font-size: 16px;
}
.body-info ul {
list-style: none;
}
.body-info ul li {
color: #777;
}