hover effect style : demo 166

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 img{
                            width: 100%;
                            height: auto;
                            transform: scale(1);
                            transition: all 0.5s ease 0s;
                        }
                        .box:hover img{ transform: scale(1.1); }
                        .box .box-content{
                            width: 100%;
                            height: 100%;
                            background: rgba(47,50,54,0.91);
                            text-align: center;
                            position: absolute;
                            top: 0;
                            left: 0;
                            opacity: 0;
                            transform: rotateY(180deg) scale(0.5);
                            transition: all 0.45s ease-out 0s;
                        }
                        .box:hover .box-content{
                            opacity: 1;
                            transform: rotateY(0deg) scale(1);
                        }
                        .box .box-content:before{
                            content: "";
                            width: 90%;
                            height: 90%;
                            border: 1px solid #fff;
                            position: absolute;
                            top: 5%;
                            left: 5%;
                        }
                        .box .icon{
                            display: inline-block;
                            padding: 0;
                            margin: 0;
                            list-style: none;
                            position: relative;
                            top: 40%;
                        }
                        .box .icon li{ display: inline-block; }
                        .box .icon li a{
                            display: block;
                            width: 50px;
                            height: 50px;
                            line-height: 50px;
                            border-radius: 50%;
                            background: #fff;
                            font-size: 18px;
                            color: #f53877;
                            transition: all 0.5s ease 0s;
                        }
                        .box .icon li a:hover{
                            background: #f53877;
                            color: #fff;
                        }
                        .box .content{
                            padding: 10px;
                            text-align: left;
                            position: absolute;
                            bottom: 5%;
                            left: 5%;
                        }
                        .box .title{
                            font-size: 20px;
                            font-weight: bold;
                            color: #fff;
                            text-transform: uppercase;
                            margin: 0 0 5px;
                        }
                        .box .post{
                            display: block;
                            font-size: 14px;
                            color: #fff;
                        }
                        @media only screen and (max-width:990px){
                            .box{ margin-bottom: 30px; }
                        }
                    
License Terms