<link href="//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//netdna.bootstrapcdn.com/bootstrap/3.0.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 ---------->
<div class="container">
<!--h1 class="text-center">Some boxes with nice hover :)</h1-->
<div class='row'>
<!--Boxes-->
<div class="col-xs-12 col-sm-12 col-md-12">
<a class="list-quotes" href="/">
<!-- Recommended size 360X360 -->
<img class='img-responsive' alt="img" src="http://anirecs.com/wp-content/uploads/2012/12/fruits-basket-big-14-990x250.jpg">
<div class="quotes">
<h1>Chci rovnou do obchodu! > </h1>
<p>
Klikněte na obrázek - pevné zdraví máte na dosah...
</p>
</div>
</a>
</div>
<div class="col-xs-12 col-sm-6 col-md-6">
<a class="list-quotes" href="/">
<!-- Recommended size 360X360 -->
<img class='img-responsive' alt="img" src="http://www.jagonews24.com/media/imgAll/2016May/SM/OrangesS20160825114735.jpg">
<div class="quotes">
<h1>Mám tělesný problém...</h1>
<p>
Rádi vám poradíme! <span>...stačí klik!</span>
</p>
</div>
</a>
</div>
<div class="col-xs-12 col-sm-6 col-md-6">
<a class="list-quotes" href="/">
<!-- Recommended size 360X360 -->
<img class='img-responsive' alt="img" src="http://nutritionstudies.org/wp-content/uploads/2014/06/legumes-fruits-vegetables-nuts-480x250.jpg">
<div class="quotes">
<h1>Chci nakopnout či posilnit tělo...</h1>
<p>
Tak se na to pojďme společně podívat...
</p>
</div>
</a>
</div>
<!--Boxes-->
</div>
</div>
/*Thats fot the body forget about it*/
body{
background: #f5f5f5;
}
/*Thats fot the body forget about it*/
/*Main style*/
.list-quotes {
background: #339999;
cursor: pointer;
height: auto;
margin-bottom: 15px;
overflow: hidden;
position: relative;
display: block;
border: 1px solid #339999;
}
.list-quotes img,
.list-quotes h1 {
-webkit-transition: -webkit-transform 0.35s;
transition: transform 0.35s;
}
.list-quotes img {
-webkit-backface-visibility: hidden;
backface-visibility: hidden;
}
.list-quotes h1{
background: rgba(51,153,153,0.8);
bottom: 8px;
color: #fff;
font-size: 30px;
font-weight: bold;
left: 20px;
padding: 15px;
position: absolute;
margin: 0;
}
.list-quotes .year{
background: rgba(51,153,153,0.8);
color: #fff;
font-size: 14px;
font-weight: bold;
padding: 15px;
position: absolute;
top: 0;
right: 0;
}
.list-quotes .cat-name{
background: rgba(108,108,108,0.8);
color: #fff;
font-size: 14px;
font-weight: bold;
padding: 15px;
position: absolute;
top: 0;
left: 0;
}
.list-quotes p {
position: absolute;
bottom: -1px;
left: 0;
right: 0;
margin: 0;
padding: 10px;
opacity: 0;
-webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
transition: opacity 0.35s, transform 0.35s;
-webkit-transform: translate3d(0,50px,0);
transform: translate3d(0,50px,0);
font-size: 25px;
font-weight: normal;
background: rgba(51,153,153,0.8);
width: 100%;
color: #fff;
}
.list-quotes:hover img {
-webkit-transform: translate3d(0,-80px,0);
transform: scale(1.2);
opacity: 0.5;
transition: all 250ms ease;
}
.list-quotes:hover{
box-shadow: 0 0 5px 2px rgba(51,153,153, 0.5);
}
.list-quotes:hover h1 {
-webkit-transform: translate3d(0,-100px,0);
transform: translate3d(0,-100px,0);
text-shadow: 0px 0 15px #fff;
transition: all 250ms ease;
}
.list-quotes:hover .year,.list-quotes:hover .cat-name{
text-shadow: 0px 0 15px #fff;
transition: all 250ms ease;
}
.list-quotes:hover p {
opacity: 1;
-webkit-transform: translate3d(0,0,0);
transform: translate3d(0,0,0);
}
.quotes span{
color:#222;
font-weight: bold;
color: #fff;
}