hover effect style : demo 308

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: Raleway)
                       .box{
                            background-color: #774691;
                            font-family: 'Raleway', sans-serif;
                            overflow: hidden;
                            position: relative;
                        }
                        .box:before,
                        .box:after{
                            content: '';
                            background: linear-gradient(to right, #12c2e9, #c471ed, #f64f59);
                            height: 50%;
                            width: 100%;
                            opacity: 0.8;
                            position: absolute;
                            top: -50%;
                            left: 0;
                            z-index: 1;
                            transition: all 0.3s ease-in 0s;
                        }
                        .box:after{
                            top: auto;
                            bottom: -50%;
                        }
                        .box:hover:before{ top: 0; }
                        .box:hover:after{ bottom: 0; }
                        .box img{
                            width: 100%;
                            height: auto;
                        }
                        .box .box-content{
                            color: #fff;
                            text-align: center;
                            width: 100%;
                            opacity: 0;
                            position: absolute;
                            top: 40%;
                            left: 0;
                            z-index: 2;
                            transition: all 0.3s ease-out 0.1s;
                        }
                        .box:hover .box-content{
                            opacity: 1;
                            top: 20%;
                        }
                        .box .title{
                            font-size: 25px;
                            font-weight: 700;
                            letter-spacing: 0.5px;
                            text-transform: capitalize;
                            margin: 0;
                        }
                        .box .title:after{
                            content: '';
                            height: 2px;
                            width: 70px;
                            border-top: 2px dashed rgba(255,255,255,0.7);
                            margin: 7px auto 10px;
                            display: block;
                            clear: both;
                        }
                        .box .post{
                            color: rgba(255,255,255,0.8);
                            font-size: 12px;
                            font-weight: 500;
                            letter-spacing: 3px;
                            text-transform: uppercase;
                            display: block;
                        }
                        .box .icon{
                            padding: 0;
                            margin: 0;
                            list-style: none;
                            opacity: 0;
                            transform: translateX(-50%);
                            position: absolute;
                            left: 50%;
                            bottom: 40%;
                            z-index: 2;
                            transition: all 0.3s ease-out 0.1s;
                        }
                        .box:hover .icon{
                            opacity: 1;
                            bottom: 20%;
                        }
                        .box .icon li{
                            margin: 0 3px;
                            display: inline-block;
                        }
                        .box .icon li a{
                            color: #444;
                            background-color: #fff;
                            font-size: 15px;
                            text-align: center;
                            line-height: 36px;
                            height: 35px;
                            width: 35px;
                            border-radius: 10px;
                            display: block;
                            transition: all 0.3s ease 0s;
                        }
                        .box .icon li a:hover{
                            color: #fff;
                            background: #12c2e9;
                        }
                        @media only screen and (max-width:990px){
                            .box{ margin: 0 0 30px; }
                        }
                    
License Terms