"IMAGE HOVER EFFECT"
Bootstrap 3.3.0 Snippet by jeevan123456

<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="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <figure class="snip1561"> <img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/331810/sample74.jpg" alt="sample74" /> <a href="#"></a> </figure> <figure class="snip1561 hover"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/331810/sample86.jpg" alt="sample86" /> <a href="#"></a> </figure> <figure class="snip1561"><img src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/331810/sample100.jpg" alt="sample100" /> <a href="#"></a> </figure>
.snip1561 { position: relative; display: inline-block; overflow: hidden; margin: 8px; min-width: 230px; max-width: 315px; width: 100%; background: #700877; background: -moz-linear-gradient(90deg, #700877 0%, #ff2759 100%, #ff2759 100%); background: -webkit-linear-gradient(90deg, #700877 0%, #ff2759 100%, #ff2759 100%); background: linear-gradient(90deg, #700877 0%, #ff2759 100%, #ff2759 100%); } .snip1561 img, .snip1561:before, .snip1561:after { -webkit-box-sizing: border-box; box-sizing: border-box; -webkit-transition: all 0.4s ease; transition: all 0.4s ease; } .snip1561 img { max-width: 100%; backface-visibility: hidden; vertical-align: top; } .snip1561:before, .snip1561:after { content: ''; background-color: #fff; position: absolute; z-index: 1; top: 50%; left: 50%; opacity: 0; -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%); } .snip1561:before { width: 60px; height: 1px; left: 100%; } .snip1561:after { height: 60px; width: 1px; top: 0%; } .snip1561 a { position: absolute; top: 0; bottom: 0; left: 0; right: 0; z-index: 1; } .snip1561:hover img, .snip1561.hover img { zoom: 1; filter: alpha(opacity=50); -webkit-opacity: 0.5; opacity: 0.5; } .snip1561:hover:before, .snip1561.hover:before, .snip1561:hover:after, .snip1561.hover:after { opacity: 1; top: 50%; left: 50%; } /* Demo purposes only */ body { background-color: #212121; text-align: center; }

Related: See More


Questions / Comments: