hover effect style : demo 99

willimson

web designer

Kristiana

Web developer

Steve Thomas

web designer

HTML

                        

willimson

web designer

Kristiana

Web developer

CSS

                        .box{
                            overflow: hidden;
                            position: relative;
                            box-shadow: 0 0 5px #a3a3a3;
                        }
                        .box:before{
                            content: "";
                            width: 80%;
                            height: 220%;
                            background: #ff402a;
                            position: absolute;
                            top: -50%;
                            left: -100%;
                            z-index: 1;
                            transform: rotate(25deg);
                            transform-origin: center top 0;
                            transition: all 0.5s ease 0s;
                        }
                        .box:hover:before{
                            left: 10%;
                        }
                        .box:after{
                            content: "";
                            width: 55%;
                            height: 175%;
                            background-color: rgba(0, 0, 0, 0.8);
                            position: absolute;
                            bottom: -1000%;
                            left: 53%;
                            transform: rotate(-33deg);
                            transform-origin: center bottom 0;
                            transition: all 0.8s ease 0s;
                        }
                        .box:hover:after{
                            bottom: -70%;
                        }
                        .box img{
                            width: 100%;
                            height: auto;
                        }
                        .box .box-content{
                            width: 100%;
                            position: absolute;
                            top: -100%;
                            left: 0;
                            color: #fff;
                            padding: 0 20px;
                            z-index: 2;
                            transition: all 1.1s ease 0s;
                        }
                        .box:hover .box-content{
                            top: 30px;
                        }
                        .box .title{
                            font-size: 24px;
                            margin: 0;
                            text-transform: capitalize;
                        }
                        .box .post{
                            display: inline-block;
                            font-size: 14px;
                            text-transform: capitalize;
                            margin-top: 5px;
                        }
                        .box .icon{
                            width: 100%;
                            list-style: none;
                            padding: 0 20px;
                            margin: 0;
                            position: absolute;
                            bottom: -100%;
                            left: 0;
                            z-index: 2;
                            transition: all 1.1s ease 0s;
                        }
                        .box:hover .icon{
                            bottom: 25px;
                        }
                        .box .icon li{
                            display: inline-block;
                        }
                        .box .icon li a{
                            display: inline-block;
                            width: 35px;
                            height: 35px;
                            line-height: 35px;
                            background: #444;
                            border-radius: 50%;
                            margin: 0 3px;
                            font-size: 14px;
                            color: #fff;
                            text-align: center;
                            transition: all 0.5s ease 0s;
                        }
                        .box .icon li a:hover{
                            background: #fff;
                            color: #ff402a;
                        }
                        @media only screen and (max-width:990px){
                            .box{ margin-bottom: 30px; }
                        }
                        @media only screen and (max-width:479px){
                            .box .title{ font-size: 20px; }
                        }
                    
License Terms