hover effect style : demo 266

Williamson

Web designer

Miranda Roy

Web designer

Steve Thomas

Web developer

HTML

(Icon Fonts Used : Fontawesome & CSS Framwork: Bootstrap)
                        
                        

Williamson

Web designer

Miranda Roy

Web designer

CSS

(Fonts required: Sen)
                        .box{
                            font-family: 'Sen', sans-serif;
                            border: 5px solid #fff;
                            overflow: hidden;
                            position: relative;
                            transition: all 0.3s ease 0s;
                        }
                        .box:hover{ box-shadow: 0 0 10px -5px rgba(0,0,0,0.8); }
                        .box:before,
                        .box:after{
                            content: "";
                            background: linear-gradient(315deg, #abe9cd 0%, #3eadcf 74%);
                            width: 100%;
                            height: 100%;
                            opacity: 0;
                            position: absolute;
                            top: 0;
                            left: -700px;
                            z-index: 1;
                            clip-path: polygon(0 0, 100% 0, 0 50%, 100% 100%, 0 100%, 0 50%);
                            transition: all 0.3s;
                        }
                        .box:after{
                            left: auto;
                            right: -700px;
                            clip-path: polygon(0 50%, 100% 0, 100% 100%);
                        }
                        .box:hover:before{
                            opacity: 0.6;
                            left: 0;
                        }
                        .box:hover:after{
                            opacity: 0.6;
                            right: 0;
                        }
                        .box > img{
                            width: 100%;
                            height: auto;
                            transition: all 0.3s ease-in-out;
                        }
                        .box:hover > img{
                            transform: scale(1.1);
                            transform-origin: left center;
                        }
                        .box .box-content{
                            color: #fff;
                            text-align: center;
                            width: 100%;
                            transform: translateX(-50%) translateY(-50%);
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            z-index: 2;
                            transition: all 0.5s;
                        }
                        .box .title{
                            font-size: 28px;
                            font-weight: 600;
                            letter-spacing: 1px;
                            text-transform: capitalize;
                            text-shadow: 0 0 5px rgba(0,0,0,0.5);
                            margin: 0 0 5px;
                            transform: perspective(500px) rotateX(-90deg);
                            transform-origin: bottom center;
                            transition: all 0.3s ease 0.2s;
                        }
                        .box .title:after{
                            content: '';
                            background-color: #fff;
                            height: 2px;
                            width: 130px;
                            margin: 5px auto 0;
                            display: block;
                            clear: both;
                        }
                        .box .post{
                            font-size: 15px;
                            font-weight: 500;
                            letter-spacing: 1px;
                            text-transform: capitalize;
                            text-shadow: 0 0 5px rgba(0,0,0,0.2);
                            display: block;
                            transform: perspective(500px) rotateX(90deg);
                            transform-origin: top center;
                            transition: all 0.3s ease 0.2s;
                        }
                        .box:hover .title,
                        .box:hover .post{
                            transform: perspective(500px) rotateX(0);
                        }
                        .box .icon{
                            text-align: center;
                            padding: 0;
                            margin: 0;
                            list-style: none;
                            position: absolute;
                            right: 10px;
                            bottom: 10px;
                            z-index: 2;
                            transition: all 0.3s ease 0.2s;
                        }
                        .box .icon li{
                            display: inline-block;
                            transform: scaleY(0);
                            transition: all 0.3s ease 0.2s;
                        }
                        .box:hover .icon li:nth-child(2){ transition-delay: 0.3s; }
                        .box:hover .icon li{ transform: scaleY(1); }
                        .box .icon li a{
                            color: #333;
                            background-color: #fff;
                            font-size: 15px;
                            line-height: 29px;
                            width: 27px;
                            height: 27px;
                            margin: 0 3px;
                            border-radius: 5px 0;
                            display: block;
                            transition: all 0.3s ease 0s;
                        }
                        .box .icon li a:hover{
                            box-shadow: 0 0 0 2px #333;
                            border-radius: 0 5px;
                        }
                        @media only screen and (max-width:990px){
                            .box { margin: 0 0 30px; }
                        }
                    
License Terms