"Animation Hover Box"
Bootstrap 4.0.0 Snippet by dsirshane94

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.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"> <div class="main"> <div class="box"> <img src="http://www.planwallpaper.com/static/images/Eiffel-Tower-lanscape-Wallpaper-HD.jpg" /> <div class="overlay"> </div> <a class="more" href="#name">More reading</a> </div> <div class="box"> <img src="http://www.planwallpaper.com/static/images/colorful-easter-eggs-holiday-hd-wallpaper-1920x1200-10811.jpg" /> <div class="overlay"> </div> <a href="#">More reading</a> </div> <div class="box"> <img src="http://www.planwallpaper.com/static/images/HD-Wallpapers1_FOSmVKg.jpeg" /> <div class="overlay"> </div> <a href="#">More reading</a> </div> <div class="box"> <img src="http://www.planwallpaper.com/static/images/79438-blue-world-map_nJEOoUQ.jpg" /> <div class="overlay"> </div> <a href="#">More reading</a> </div> <div class="box"> <img src="http://www.planwallpaper.com/static/images/6768666-1080p-wallpapers.jpg" /> <div class="overlay"> </div> <a href="#">More reading</a> </div> <div class="box"> <img src="http://www.planwallpaper.com/static/images/6768666-1080p-wallpapers.jpg" /> <div class="overlay"> </div> <a href="#">More reading</a> </div> </div> </div>
.box{width:300px; height:250px; border:1px solid #000; border-radius:2px; float:left; margin:20px 30px; } .box img{width:300px; height:250px;} .box .overlay{width:300px; height:250px; background:#fff; margin:-250px 0px 0px 0px; opacity:0.5; } .box a{padding:5px 7px; border:0px solid #000; text-decoration:none; font-family:sans-serif; font-size:14px; margin:-140px 0px 0px 15px; display:inline-block; opacity:0; transition:all 0.5s ease-in-out; cursor: pointer;/* z-index: 10000; */position: absolute;} .box .overlay:hover{opacity:0.1; transition:all 0.5s ease-in-out; width:300px; margin-left:50px; float:right; } .box:hover{box-shadow:0px 0px 10px #6A6A6A; border:1px solid #00DFDF;transition:all 0.5s ease-in-out;} .box:hover a{opacity:1; background:#FFFFFF; color:#000000; margin:-40px 0px 0px 15px; border-radius:1px; } .box a:hover{border:1px solid #00DFDF;transition:all 0.5s ease-in-out; }

Related: See More


Questions / Comments: