JSFiddle - React, Tailwind, and code Playground
by dhavaljani
HTML
<div class="container">
<div class="slider">
<img src="http://placehold.it/600x392" />
</div>
<div class="content">
<div class="img-wrap"><img src="http://placehold.it/512x512" /></div>
<div class="title-wrap">
<h3>
App name goes here and it will fit
</h3>
</div>
<a href="https://reelcontent.com">Get The App</a>
</div>
</div>
CSS
.container {
width: 300px;
height: 250px;
border: 1px solid #333;
}
.slider {
height: 196px;
width: 300px;
display: block;
}
.slider img {
max-width: 300px;
max-height: 196px;
width: auto;
height: auto;
}
.content {
display: block;
height: 54px;
width: 300px;
}
.content .img-wrap {
width: 40px;
height: 40px;
margin-top: 7px;
margin-left: 5px;
display: inline-block;
float: left;
}
.content .img-wrap img {
max-width: 40px;
max-height: 40px;
}
.title-wrap {
width: 140px;
display: inline-block;
margin-top: 7px;
margin-left: 5px;
}
.title-wrap h3 {
margin: 0;
font-family: Arial, Helvetica, san-serif;
font-size: 14px;
}
a {
width: 100px;
height: 30px;
background: red;
color: white;
display: inline-block;
margin-top: 12px;
margin-right: 5px;
font-size: 10px;
line-height: 30px;
text-align: center;
float: right;
top: 12px;
}