hover effect style : demo 188

Williamson

Web Developer

Kristiana

Web Designer

Steve Thomas

Web Developer

HTML

                        

Williamson

Web Developer

Kristiana

Web Designer

CSS

                        .box{
                            text-align: center;
                            overflow: hidden;
                            position: relative;
                        }
                        .box img{
                            width: 100%;
                            height: auto;
                            transform: scale(1.3);
                            transition: all 0.3s ease 0s;
                        }
                        .box:hover img{ transform: scale(1); }
                        .box .box-content{
                            width: 100%;
                            height: 100%;
                            position: absolute;
                            top: 0;
                            left: 0;
                            z-index: 2;
                            transition: all 0.2s ease 0s;
                        }
                        .box:hover .box-content{ background: rgba(0,0,0,0.4); }
                        .box:before,
                        .box:after,
                        .box .box-content:before,
                        .box .box-content:after{
                            content: "";
                            width: 105%;
                            height: 105%;
                            background: rgba(0,0,0,0.6);
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            z-index: 1;
                            transform: translate(-50%, -170%) rotate(45deg);
                            transition: all 0.3s ease 0s;
                        }
                        .box:hover:before{ transform: translate(-50%, -73%) rotate(45deg); }
                        .box:hover:after{
                            background: rgba(0,0,0,0.4);
                            transform: translate(-50%, -93%) rotate(45deg);
                        }
                        .box:hover .box-content:before{
                            background: rgba(0,0,0,0.3);
                            transform: translate(-50%, -113%) rotate(45deg);
                        }
                        .box:hover .box-content:after{
                            background: rgba(0,0,0,0.2);
                            transform: translate(-50%, -133%) rotate(45deg);
                        }
                        .box .inner-content{
                            width: 100%;
                            padding: 7px 0;
                            opacity: 0;
                            position: absolute;
                            top: 50%;
                            left: 0;
                            z-index: 2;
                            transform: translateY(-50%);
                            transition: all 0.3s ease 0.1s;
                        }
                        .box:hover .inner-content{ opacity: 1; }
                        .box .title{
                            padding: 0 10px;
                            margin: 0 0 3px 0;
                            font-size: 25px;
                            font-weight: 700;
                            color: #76e02f;
                            letter-spacing: 1px;
                            text-transform: uppercase;
                            transition: all 0.6s ease 0s;
                        }
                        .box .post{
                            display: block;
                            font-size: 16px;
                            font-style: italic;
                            color: #fff;
                            text-transform: uppercase;
                            letter-spacing: 1px;
                            transition: all 0.6s ease 0s;
                        }
                        .box .icon{
                            padding: 0;
                            margin: 0;
                            list-style: none;
                            position: absolute;
                            bottom: 50px;
                            left: 50%;
                            transform: translateX(-50%);
                            transition: all 0.5s ease 0s;
                        }
                        .box .icon li{
                            display: inline-block;
                            margin: 0 5px;
                            opacity: 0;
                            transition: all 400ms cubic-bezier(1.000, -0.360, 0.570, -0.150);
                        }
                        .box .icon li:first-child{ transform: translateX(-120px); }
                        .box .icon li:last-child{ transform: translateX(120px); }
                        .box:hover .icon li{
                            opacity: 1;
                            transform: translateX(0);
                        }
                        .box .icon li a{
                            display: block;
                            width: 40px;
                            height: 40px;
                            line-height: 40px;
                            border-radius: 50%;
                            background: #76e02f;
                            margin-bottom: 10px;
                            font-size: 20px;
                            color: #fff;
                            position: relative;
                            transition: all 0.3s ease 0s;
                        }
                        .box .icon li a:hover{
                            text-decoration: none;
                            border-radius: 0 10px;
                            background: #fff;
                            box-shadow: 0 0 10px rgba(0,0,0,0.9) inset;
                            color: #76e02f;
                        }
                        @media only screen and (max-width:990px){
                            .box{ margin-bottom: 30px; }
                        }
                    
License Terms