hover effect style : demo 44

HTML

CSS

                        .box{
                            border: 1px solid #000;
                            padding: 3px;
                            box-shadow: 0 0 5px #fff;
                        }
                        .box .box-img{
                            display: block;
                            position: relative;
                            overflow: hidden;
                        }
                        .box .box-img img{
                            width: 100%;
                            height: auto;
                        }
                        .box .over-layer{
                            position: absolute;
                            top:0;
                            left: 0;
                            width: 100%;
                            height: 100%;
                            text-align: center;
                        }
                        .box-img:before,
                        .box-img:after,
                        .box-img .over-layer:before,
                        .box-img .over-layer:after{
                            content:"";
                            width: 50%;
                            height: 50%;
                            position: absolute;
                            background: rgba(255, 255, 255,0.4);
                            transition: all 0.40s ease-in-out 0s;
                        }
                        .box-img:before{
                            top: 0;
                            left: -100%;
                        }
                        .box:hover .box-img:before{
                            left:0;
                        }
                        .box-img:after{
                            top: -100%;
                            right: 0;
                            background:rgba(255, 255, 255,0.8);
                        }
                        .box:hover .box-img:after{
                            top:0;
                        }
                        .box-img .over-layer:before{
                            left: 0;
                            bottom: -100%;
                            background:rgba(255, 255, 255,0.8);
                        }
                        .box:hover .over-layer:before{
                            bottom:0;
                        }
                        .box-img .over-layer:after{
                            bottom: 0;
                            right: -100%;
                        }
                        .box:hover .over-layer:after{
                            right:0;
                        }
                        .box .over-layer i{
                            position: relative;
                            top: 40%;
                            font-size: 35px;
                            color: #13afea;
                            opacity:0;
                            z-index: 2;
                            transition: all 0.40s ease-in-out 0.1s;
                        }
                        .box:hover .over-layer i{
                            opacity:1;
                            transition-delay: 0.1s;
                        }
                        @media only screen and (max-width: 990px) {
                            .box{  margin-bottom:20px; }
                        }
                    
License Terms