hover effect style : demo 249

Williamson

Web designer

Miranda Roy

Web developer

Steve Thomas

Web developer

HTML

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

Williamson

Web designer

Miranda Roy

Web developer

CSS

(Fonts required: Lexend Deca)
                        .box{
                            font-family: 'Lexend Deca', sans-serif;
                            text-align: center;
                            position: relative;
                            overflow: hidden;
                            transition: all 0.3s;
                        }
                        .box:hover{ box-shadow:5px 5px 10px rgba(0, 0, 0, 0.4); }
                        .box:before,
                        .box:after{
                            content: "";
                            background: #f77300;
                            width: calc(100% - 60px);
                            height: calc(100% - 60px);
                            opacity: 0;
                            position: absolute;
                            top: 30px;
                            left: 30px;
                            z-index: 1;
                            transition: all 600ms ease;
                        }
                        .box:after{
                            background: none;
                            height: 100%;
                            width: 100%;
                            border: 15px solid #f77300;
                            box-shadow: 0 0 0 20px #f77300;
                            opacity: 0;
                            left: 0;
                            top: 0;
                            transition: all 600ms ease;
                        }
                        .box:hover:before,
                        .box:hover:after{
                            opacity: 1;
                            animation: borderSkewOut 600ms ease forwards;
                        }
                        .box:hover:before{ opacity: 0.7; }
                        .box img{
                            width: 100%;
                            height: auto;
                            transform: scale(1.25);
                            transition: all 0.3s ease;
                        }
                        .box:hover img {
                            transform: scale(1);
                            filter: grayscale(50%) hue-rotate(180deg);
                        }
                        .box .box-content{
                            color: #fff;
                            width: 100%;
                            transform: translateY(-50%);
                            position: absolute;
                            top: 50%;
                            left: 0;
                            z-index: 2;
                        }
                        .box .title{
                            font-size: 22px;
                            font-weight: 700;
                            margin: 0 0 3px 0;
                            text-transform: uppercase;
                            opacity: 0;
                            transform: translateY(100px);
                            transition: all 0.6s;
                        }
                        .box .post{
                            font-size: 16px;
                            font-style: italic;
                            margin-bottom: 10px;
                            opacity: 0;
                            transform: translateY(50px);
                            display: block;
                            transition: all 0.6s;
                        }
                        .box:hover .title,
                        .box:hover .post,
                        .box:hover .icon{
                            opacity: 1;
                            transform: translate(0);
                        }
                        .box .icon{
                            padding: 0;
                            margin: 0;
                            list-style: none;
                            opacity: 0;
                            transform: translateY(-100px);
                            transition: all 0.6s;
                        }
                        .box .icon li{
                            display: inline-block;
                            margin: 0 5px;
                            transition: all 0.3s;
                        }
                        .box .icon li a{
                            color: #f77300;
                            background: #fff;
                            font-size: 20px;
                            line-height: 35px;
                            height: 35px;
                            width: 35px;
                            display: block;
                            transition: all 0.5s ease;
                        }
                        .box .icon li  a:hover{
                            color: #fff;
                            background: #f77300;
                            border-radius: 50% 50% 0 0;
                            box-shadow: 0 0 15px #fff;
                        }
                        @keyframes borderSkewOut{
                            33%{ transform: skew(-3deg, -3deg); }
                            66%{ transform: skew(3deg, 3deg); }
                        }
                        @media only screen and (max-width:990px){
                            .box { margin: 0 0 30px; }
                        }
                    
License Terms