hover effect style : demo 112

Williamson

Web Designer

Kristiana

Web Developer

Steve Thomas

Web Designer

HTML

                        

Williamson

Web Designer

Kristiana

Web Developer

CSS

                        .box{
                            position: relative;
                            overflow: hidden;
                        }
                        .box img{
                            width: 100%;
                            height: auto;
                        }
                        .box .box-content{
                            padding: 30px 0 30px 43px;
                            text-align: left;
                            background-color: rgba(33, 32, 32, 0.9);
                            position: absolute;
                            bottom: 20px;
                            left: 0;
                            right: 70px;
                            top: 69%;
                            z-index: 1;
                            transition: all 0.3s ease-in-out 0s;
                        }
                        .box:hover .box-content{
                            padding: 38% 0 0 0;
                            text-align: center;
                            background: transparent;
                            bottom: 25px;
                            left: 0;
                            right: 0;
                            top: 15px;
                        }
                        .box .box-content:before,
                        .box .box-content:after{
                            content: "";
                            height: 150px;
                            background: #827f54;
                            position: absolute;
                            top: 0;
                            left: -1000px;
                            opacity: 0;
                            z-index: -1;
                            transition: all 0.3s ease-in-out 0s;
                        }
                        .box .box-content:before{
                            right: -100px;
                            transform: rotate(-30deg) scale(1.5);
                            transform-origin: 93% 0 0;
                        }
                        .box:hover .box-content:before{
                            opacity: 1;
                            transform: rotate(-30deg) scale(1);
                        }
                        .box .box-content:after{
                            right: -1000px;
                            transform: rotate(30deg) scale(1.5);
                            transform-origin: 42.5% 0 0;
                        }
                        .box:hover .box-content:after{
                            opacity: 1;
                            transform: rotate(30deg) scale(1);
                        }
                        .box .title{
                            font-size: 18px;
                            font-weight: 600;
                            color: #fff;
                            text-transform: uppercase;
                            margin: 0;
                        }
                        .box .post{
                            display: inline-block;
                            font-size: 12px;
                            color: #827f54;
                            text-transform: uppercase;
                            margin-top: 5px;
                        }
                        .box:hover .post{
                            padding: 5px 10px;
                            margin: 13px 0;
                            background: #4b4b4b;
                            color: #fff;
                            text-transform: uppercase;
                            border-radius: 5px;
                        }
                        .box .icon{
                            padding: 0;
                            margin: 0;
                            list-style: none;
                            opacity: 0;
                            position: absolute;
                        }
                        .box:hover .icon{
                            opacity: 1;
                            position: relative;
                        }
                        .box .icon li{
                            display: inline-block;
                        }
                        .box .icon li a{
                            display: inline-block;
                            width: 40px;
                            height: 40px;
                            line-height: 40px;
                            border-radius: 50%;
                            border: 2px solid #fff;
                            font-size: 14px;
                            color: #fff;
                            margin-right: 5px;
                            transition: all 0.3s ease 0s;
                        }
                        .box .icon li a:hover{
                            background: #4b4b4b;
                            border-color: #4b4b4b;
                        }
                        @media only screen and (max-width:990px){
                            .box{ margin-bottom: 30px; }
                        }
                        @media only screen and (min-width:500px) and (max-width:767px){
                            .box:hover .box-content{
                                padding: 23% 0 0;
                            }
                            .box .box-content:before{
                                transform-origin: 89% 0 0;
                            }
                        }
                        @media only screen and (min-width:480px) and (max-width:500px){
                            .box:hover .box-content{
                                padding: 38% 0 0;
                            }
                        }
                    
License Terms