hover effect style : demo 174

Williamson

Web Developer

Kristiana

Web Designer

Steve Thomas

Web Developer

HTML

                        

Williamson

Web Developer

Kristiana

Web Designer

CSS

                        .box{
                            text-align: center;
                            box-shadow: 0 0 3px rgba(0,0,0,0.3);
                            overflow: hidden;
                            position: relative;
                        }
                        .box img{
                            width: 100%;
                            height: auto;
                            transition: all 0.5s ease 0s;
                        }
                        .box:hover img{
                            transform: scale(1.2);
                            filter: grayscale(100%);
                        }
                        .box .box-content{
                            width: 95%;
                            height: 95%;
                            background: rgba(0,0,0,0.8);
                            padding: 18% 10px 0;
                            margin: auto;
                            position: absolute;
                            top: 0;
                            left: 0;
                            bottom: 0;
                            right: 0;
                            opacity: 0;
                            transition: all 0.8s ease 0s;
                        }
                        .box:hover .box-content{ opacity: 1; }
                        .box .title{
                            font-size: 30px;
                            font-weight: 500;
                            color: #fff;
                            letter-spacing: 1px;
                            text-transform: capitalize;
                            margin: 0 0 10px;
                        }
                        .box .post{
                            display: block;
                            font-size: 16px;
                            font-style: italic;
                            color: #daa520;
                            text-transform: uppercase;
                            margin-bottom: 25px;
                        }
                        .box .icon{
                            padding: 0;
                            margin: 0;
                            list-style: none;
                        }
                        .box .icon li{ display: inline-block; }
                        .box .icon li a{
                            display: block;
                            width: 40px;
                            height: 40px;
                            line-height: 40px;
                            font-size: 18px;
                            color: #fff;
                            margin-right: 11px;
                            position: relative;
                            transform: rotate(-45deg);
                            transition: all 0.4s ease-in-out;
                        }
                        .box .icon li a:hover{ background: #daa520; }
                        .box .icon li a span{ display: block; }
                        .box .icon li a span i{ transform: rotate(45deg); }
                        .box .icon li a:before,
                        .box .icon li a:after,
                        .box .icon li a span:before,
                        .box .icon li a span:after{
                            content: "";
                            display: block;
                            width: 0;
                            height: 0;
                            background: #fff;
                            position: absolute;
                            top: 0;
                            left: 0;
                            transition: all 0.4s ease-in-out 0s;
                        }
                        .box .icon li a span:before{
                            left: auto;
                            right: 0;
                        }
                        .box .icon li a span:after{
                            top: auto;
                            bottom: 0;
                        }
                        .box .icon li:nth-child(2) a:before,
                        .box .icon li:nth-child(2) a:after,
                        .box .icon li:nth-child(2) a span:before,
                        .box .icon li:nth-child(2) a span:after{ transition-delay: 0.2s; }
                        .box:hover .icon li a:before,
                        .box:hover .icon li a span:before{
                            width: 3px;
                            height: 100%;
                        }
                        .box:hover .icon li a:after,
                        .box:hover .icon li a span:after{
                            width: 100%;
                            height: 3px;
                        }
                        @media only screen and (max-width:990px){
                            .box{ margin-bottom: 30px; }
                        }
                    
License Terms