<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script>
<script src="//code.jquery.com/jquery-1.11.1.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<script src="https://use.fontawesome.com/ad36db991d.js"></script>
<div class="card">
<div class="setting">
<i class="fa fa-expand fa-lg"></i>
<i class="fa fa-heart fa-lg"></i>
</div>
<div class="image"></div>
<div class="description">
<div>
<h5 class="sub">Title</h5>
<h4>Lorem ipsum dolor</h4>
</div>
<div>
<h5 class="sub">Time</h5>
<h4>1h 30m</h4>
</div>
<div>
<h5 class="sub">Rating</h5>
<h4>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star"></i>
<i class="fa fa-star-o"></i>
<i class="fa fa-star-o"></i>
</h4>
</div>
</div>
<div class="long-description">
<h1>Lorem ipsum dolor sit amet</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
</div>
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,700);
body{overflow:hidden;}
.card{
overflow:hidden;
font-family:"Open Sans", sans-serif;
color:#FF4200;
width:480px;
height:300px;
display:border-box;
position:absolute;
background:#F5F5F5;
top:0; left:0; right:0; bottom:0;
margin:auto;
box-shadow: 0px 30px 30px -20px rgba(0,0,0,0.2);
transition:all .4s cubic-bezier(1,.4,.4,1)
}
.card > .setting{
font-size:.75em;
color:#f6f6f6;
position:absolute;
right:15px;
top:15px;
}
.card > .setting >.fa:first-child{
margin-bottom:15px;
}
.card > .setting >.fa:hover{opacity:1;}
.card > .setting >.fa{
display:block;
cursor:pointer;
opacity:.85;
transition:all .2s ease-in-out
}
.card > .setting >.fa.active{color:red;opacity:1}
.card > .image{
width:100%;
height:80%;
background: linear-gradient(rgba(255,255,255,0) 50%, rgba(252,252,252,0) 50%, rgba(246,246,246,1) 90%), url(https://i.imgur.com/dD474c0h.jpg) ;
background-size:cover;
background-position:center center;
}
.card .description{padding:0 3%;}
.card .description h4, .description h5{margin:0; padding:0;}
.card .description > div{display:inline-block;width:26%; margin:0 3%;}
.card .description .sub{color:#aaa}
.card .description h4{
white-space: nowrap;
overflow:hidden;
text-overflow: ellipsis;
}
.card .long-description{
opacity:0;
transition:all .5s ease-in-out;
margin-top:0em;
padding:0 6%;
}
.card.expand{
width:100vw;
height:100vh;
overflow-y: scroll;
}
.card.expand > .setting{font-size:1.3em}
.card.expand .long-description{margin-top:2em;opacity:1;}
$('.fa.fa-expand').on("click", function(){
$('.card').toggleClass("expand");
})
$('.fa.fa-heart').on("click", function(){
$(this).toggleClass("active");
})s