JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<div class="col-lg-12" id="container">
<div class="ala col-lg-3 col-md-4 col-sm-6 col-xs-12 col-md-25">
<span style="position: absolute;top: -25px;font-size:1rem;margin-left: -30px;color:#666;left: 50%;font-family:'Lato', sans-serif;display:block" class="rate"> <input type="checkbox" name="star[]" class="star" value="1" id="star_1" checked>Favorita</span>
<div class="hovereffect clic">
<div class="clic" style="display:block"></div>
<div class="heart"></div>
<img class="img-responsive" src="http://www.kvraudio.com/i/300x250.jpg" alt="namePhoto">
<div class="overlay">
<a class="info test-popup-link" href="http://www.kvraudio.com/i/300x250.jpg"></a>
<br>
<br>
<br>
<div class="btn-group" data-toggle="buttons">
<label class="btn btn-primary check active">
<input type="checkbox" class="ck" name="ck[]" checked value="1" id="ck_1"> <span class="che">Desmarcar</span>
</label>
</div>
</div>
</div>
</div>
<div class="ala col-lg-3 col-md-4 col-sm-6 col-xs-12 col-md-25">
<span style="position: absolute;top: -25px;font-size:1rem;margin-left: -30px;color:#666;left: 50%;font-family:'Lato', sans-serif;display:block" class="rate"> <input type="checkbox" name="star[]" class="star" value="1" id="star_1" checked>Favorita</span>
<div class="hovereffect clic">
<div class="clic" style="display:block"></div>
<div class="heart"></div>
<img class="img-responsive" src="http://www.kvraudio.com/i/300x250.jpg" alt="namePhoto">
<div class="overlay">
<a class="info test-popup-link"...
CSS
h1, p{
font-family: 'Lato', sans-serif;
}
h1{
color: #fff;
}
p{
font-size: 1.05rem;
color: #666;
}
.img-thumbnail{
display: inline-block;
max-width: 100%;
height: auto;
line-height: 1.42857143;
background-color: #fff;
border:none;
box-shadow: 0px 3px 13px rgba(0,0,0,0.6);
border-radius: 1px;
-webkit-transition: all .2s ease-in-out;
-o-transition: all .2s ease-in-out;
transition: all .2s ease-in-out;
}
.hovereffect {
width:100%;
height:100%;
/*min-height: 250px;*/
float:left;
overflow:hidden;
position:relative;
text-align:center;
cursor:default;
/*box-shadow:0px 3px 13px rgba(0,0,0,0.6);*/
border: 5px solid transparent;
}
.hovereffect .overlay {
width:100%;
height:100%;
position:absolute;
overflow:hidden;
top:0;
left:0;
opacity:0;
background-color:rgba(0,0,0,0.5);
-webkit-transition:all .2s ease-in-out;
transition:all .2s ease-in-out;
}
.hovereffect img {
display:block;
position:relative;
-webkit-transition:all .2s linear;
transition:all .2s linear;
}
.hovereffect a.info {
text-decoration:none;
display:inline-block;
text-transform:uppercase;
color:#fff;
opacity:0;
filter:alpha(opacity=0);
-webkit-transition:all .2s ease-in-out;
transition:all .2s ease-in-out;
margin:50px 0 0;
}
.info:focus{
outline: 0px auto -webkit-focus-ring-color
}
.hovereffect:hover .overlay {
opacity:1;
filter:alpha(opacity=100);
}
.hovereffect:hover a.info {
opacity:1;
}
.clic{
border-color: #13B8DC;
}
.clic:before{
content: "\f00c";
font:normal normal normal 14px/1 FontAwesome;
position: absolute;
top: 9px;
color: #fff;
z-index: 2;
font-size: 1rem;
left: 4px;
}
.hovereffect .clic{
background-color: #13B8DC;
z-index: 1;
overflow: hidden;
width: 80px;
height: 80px;
-webkit-transform: rotate(-45deg);
-moz-transform: rotate(-45deg);
-ms-transform: rotate(-45deg);
-o-transform: rotate(-45deg);
transform:...