| <!DOCTYPE html>
|
| <html>
|
| <head>
|
| <title>Hover Effects</title>
|
| </head>
|
| <body>
|
|
|
| <div id="tours" class="pt-5">
|
| <div class="clearfix">
|
|
|
| <div class="tour1 clearfix">
|
| <a href="#" class="clearfix">
|
| <figure>
|
| <img src="" alt="" class="img-responsive">
|
| </figure>
|
| <div class="caption">
|
| <div class="txt1">Rajasthan , India</div>
|
| <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard.</p>
|
| </div>
|
| </a>
|
| </div>
|
| <div class="tour1 clearfix">
|
| <a href="#" class="clearfix">
|
| <figure>
|
| <img src="" alt="" class="img-responsive">
|
| </figure>
|
| <div class="caption">
|
| <div class="txt1">Amritsar , India</div>
|
| <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard.</p>
|
| </div>
|
| </a>
|
| </div>
|
| <div class="tour1 clearfix">
|
| <a href="#" class="clearfix">
|
| <figure>
|
| <img src="" alt="" class="img-responsive">
|
| </figure>
|
| <div class="caption">
|
| <div class="txt1">Taj Mahal , India</div>
|
| <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard.</p>
|
| </div>
|
| </a>
|
| </div>
|
| <div class="tour1 clearfix">
|
| <a href="#" class="clearfix">
|
| <figure>
|
| <img src="" alt="" class="img-responsive">
|
| </figure>
|
| <div class="caption">
|
| <div class="txt1">Goa , India</div>
|
| <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard.</p>
|
| </div>
|
| </a>
|
| </div>
|
| <div class="tour1 clearfix">
|
| <a href="#" class="clearfix">
|
| <figure>
|
| <img src="" alt="" class="img-responsive">
|
| </figure>
|
| <div class="caption">
|
| <div class="txt1">Kerala , India</div>
|
| <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard.</p>
|
| </div>
|
| </a>
|
| </div>
|
| <div class="tour1 clearfix">
|
| <a href="#" class="clearfix">
|
| <figure>
|
| <img src="" alt="" class="img-responsive">
|
| </figure>
|
| <div class="caption">
|
| <div class="txt1">Pangong Lake, India</div>
|
| <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard.</p>
|
| </div>
|
| </a>
|
| </div>
|
| <div class="tour1 clearfix">
|
| <a href="#" class="clearfix">
|
| <figure>
|
| <img src="" alt="" class="img-responsive">
|
| </figure>
|
| <div class="caption">
|
| <div class="txt1">Backwaters, Kerala</div>
|
| <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard.</p>
|
| </div>
|
| </a>
|
| </div>
|
| <div class="tour1 clearfix">
|
| <a href="#" class="clearfix">
|
| <figure>
|
| <img src="" alt="" class="img-responsive">
|
| </figure>
|
| <div class="caption">
|
| <div class="txt1">Old Bombay, Mumbai</div>
|
| <p>Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard.</p>
|
| </div>
|
| </a>
|
| </div>
|
| </div>
|
| </div>
|
|
|
| </body>
|
| </html>
|
|
|
| <style type="text/css">
|
| #tours{position: relative;}
|
| .tour1{position: relative; width: 25%; float: left;}
|
| .tour1 a{position: relative; display: block; text-decoration: none;}
|
| .tour1 a figure{position: relative; z-index: 2; top: 0; transition: all 0.3s ease-out; -moz-transition: all 0.3s ease-out; -webkit-transition: all 0.3s ease-out; -o-transition: all 0.3s ease-out; margin: 0px;}
|
| .tour1 a:hover figure{top: -120px;}
|
| .tour1 a figure img{width: 100%;}
|
| .tour1 a .caption{position: absolute; background: #fff; width: 100%; left: 0; bottom: 15px; z-index: 1; text-align: center;}
|
| .tour1 a .caption .txt1{font-size: 18px; line-height: 1.1; padding-bottom: 5px; color: #222222; text-transform: uppercase; letter-spacing: 1px; font-weight: 600;}
|
| .tour1 a .caption .txt2 .stars1{display: inline-block;}
|
| .tour1 a .caption .txt2 .stars1 img{padding-right: 5px; vertical-align: top; padding-top: 6px;}
|
| .tour1 a .caption .txt2 .rev-num{display: inline-block; color: #bebebe; padding-left: 10px;}
|
| .tour1 a .caption .txt3{font-weight: 700; font-size: 18px; line-height: 1.1; color: #222222; text-transform: uppercase; letter-spacing: 1px; padding-top: 10px;}
|
| .caption p { padding-left: 20px; padding-right: 20px; color: #333; font-size: 15px;}
|
| .collage-img img{width: 100%;}
|
|
|
| </style> |
Comments
Post a Comment