hover effect style : demo 158

Williamson

Web Developer

Kristiana

Web Designer

Steve Thomas

Web Developer

HTML

                        

Williamson

Web Developer

Kristiana

Web Designer

CSS

                        .box{
                            overflow: hidden;
                            box-shadow: 0 0 3px rgba(0,0,0,0.3);
                            position: relative;
                        }
                        .box:before{
                            content: "";
                            width: 100%;
                            height: 100%;
                            background: transparent;
                            position: absolute;
                            top: 0;
                            left: 0;
                            z-index: 1;
                            transition: all 0.4s ease 0s;
                        }
                        .box:hover:before{ background: rgba(0,0,0,0.8); }
                        .box img{
                            width: 103%;
                            height: auto;
                            position: relative;
                            left: -3%;
                            transition: all 0.4s ease 0s;
                        }
                        .box:hover img{ left: 0; }
                        .box .box-content{
                            width: 100%;
                            height: 100%;
                            padding: 10px;
                            position: absolute;
                            top: 0;
                            left: 0;
                            z-index: 1;
                        }
                        .box .title{
                            padding: 10px 0 15px 0;
                            margin: 0 0 20px 0;
                            font-size: 20px;
                            font-weight: bold;
                            color: #fff;
                            opacity: 0;
                            position: relative;
                            transition: all 0.3s ease 0s;
                        }
                        .box:hover .title{ opacity: 1; }
                        .box .title:after{
                            content: "";
                            width: 0;
                            height: 2px;
                            background: #fff;
                            position: absolute;
                            bottom: 0;
                            left: 0;
                            transition: all 0.3s ease 0s;
                        }
                        .box:hover .title:after{ width: 100%; }
                        .box .post{
                            display: inline-block;
                            font-size: 16px;
                            color: #fff;
                            opacity: 0;
                            margin-bottom: 15px;
                            position: relative;
                            left: 100%;
                            transition: all 0.35s ease 0s;
                        }
                        .box:hover .post{
                            opacity: 1;
                            left: 0;
                        }
                        .box .icon{
                            list-style: none;
                            padding: 0;
                            margin: 0;
                            opacity: 0;
                            position: relative;
                            top: 50%;
                            transition: all 0.35s ease 0s;
                        }
                        .box:hover .icon{
                            opacity: 1;
                            top: 0;
                        }
                        .box .icon li{ display: inline-block; }
                        .box .icon li a{
                            display: block;
                            width: 35px;
                            height: 35px;
                            line-height: 35px;
                            border-radius: 50%;
                            background: #2886c9;
                            text-align: center;
                            font-size: 18px;
                            color: #fff;
                            margin-right: 10px;
                            transition: all 0.5s ease 0s;
                        }
                        .box .icon li a:hover{ transform: rotate(360deg); }
                        @media only screen and (max-width:990px){
                            .box{ margin-bottom: 30px; }
                        }
                    
License Terms