hover effect style : demo 252

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: Kanit)
                        .box{
                            font-family: 'Kanit', sans-serif;
                            border-radius: 15px;
                            overflow: hidden;
                            position: relative;
                        }
                        .box:before{
                            content:"";
                            background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 35%, transparent 65%, rgba(0,0,0,0.8) 100%);
                            width: 100%;
                            height: 100%;
                            opacity: 0;
                            position: absolute;
                            top: 0;
                            left: 0;
                            z-index: 1;
                            transition: all 0.4s ease 0.3s;
                        }
                        .box:hover:before{ opacity: 1; }
                        .box img{
                            width: 100%;
                            height: auto;
                            transition: all 0.4s linear;
                        }
                        .box:hover img{ opacity: 0.8; }
                        .box .box-content{
                            transform: translateY(-50%);
                            width: 100%;
                            position: absolute;
                            top: 50%;
                            left: 0;
                            z-index: 2;
                        }
                        .box .inner-content{
                            color: #fff;
                            background: rgba(214,48,49,0.9);
                            text-align: center;
                            width: 90%;
                            padding: 10px;
                            border-radius: 0 10px 0 0;
                            box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
                            transform: translateX(-100%);
                            transition: all 0.4s ease-in-out 0.2s;
                        }
                        .box:hover .inner-content{ transform: translateX(0); }
                        .box .title{
                            font-size: 22px;
                            font-weight: 600;
                            letter-spacing: 1px;
                            text-transform: uppercase;
                            margin: 0;
                        }
                        .box .post{
                            font-size: 16px;
                            text-transform: capitalize;
                            font-style: italic;
                        }
                        .box .icon{
                            background: rgba(255,255,255,0.9);
                            width: 70%;
                            padding: 7px 10px;
                            margin: 0;
                            list-style: none;
                            border-radius: 0 0 0 10px;
                            transform: translateX(150%);
                            transition: all 0.35s ease 0.2s;
                        }
                        .box:hover .icon{ transform: translateX(50%); }
                        .box .icon li{
                            display: inline-block;
                            margin: 0 2px;
                            transform:translateX(350px);
                            transition: all 0.35s;
                        }
                        .box:hover .icon li{ transform: translateX(0); }
                        .box:hover .icon li:nth-child(1){ transition-delay: 0.3s; }
                        .box:hover .icon li:nth-child(2){ transition-delay: 0.4s; }
                        .box .icon li a{
                            color:#fff;
                            background-color: #B7B7B7;
                            font-size: 19px;
                            text-align: center;
                            line-height: 35px;
                            height: 35px;
                            width: 35px;
                            border-radius: 15px;
                            display: block;
                            transition: all 0.35s;
                        }
                        .box .icon li  a:hover{ background-color: #333; }
                        @media only screen and (max-width:990px){
                            .box { margin: 0 0 30px; }
                        }
                    
License Terms