hover effect style : demo 196

Williamson

Web Developer

Kristiana

Web Designer

Steve Thomas

Web Developer

HTML

                        

Williamson

Web Developer

Kristiana

Web Designer

CSS

                        .box{
                            text-align: center;
                            position: relative;
                        }
                        .box:before{
                            content: "";
                            width: 100%;
                            height: 100%;
                            background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.85) 100%);
                            position: absolute;
                            top: 0;
                            left: 0;
                            opacity: 0;
                            transition: all 0.3s ease 0s;
                        }
                        .box:hover:before{ opacity: 1; }
                        .box img{
                            width: 100%;
                            height: auto
                        }
                        .box .box-content{
                            width: 100%;
                            padding: 20px 0 30px;
                            color: #fff;
                            opacity: 0;
                            position: absolute;
                            bottom: 10%;
                            left: 0;
                            transition: all 0.3s ease 0s;
                        }
                        .box:hover .box-content{
                            opacity: 1;
                            bottom: 0;
                        }
                        .box .box-content:before{
                            content: "";
                            width: 100px;
                            height: 8px;
                            background: #e16e14;
                            margin: 0 auto;
                            position: absolute;
                            bottom: 0;
                            left: 0;
                            right: 0;
                            transition: all 0.4s ease-in-out 0s;
                        }
                        .box:hover .box-content:before{ width: 100%; }
                        .box .title{
                            font-size: 20px;
                            font-weight: 700;
                            text-transform: uppercase;
                            letter-spacing: 1px;
                            margin: 0 0 10px 0;
                        }
                        .box .post{
                            display: block;
                            font-size: 14px;
                            text-transform: capitalize;
                            margin-bottom: 15px;
                        }
                        .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;
                            background: #0c9ae3;
                            font-size: 20px;
                            color: #fff;
                            margin-right: 10px;
                            transition: all 0.3s ease 0s;
                        }
                        .box .icon li a:hover{ transform: rotateX(360deg); }
                        @media only screen and (max-width:990px){
                            .box{ margin-bottom: 30px; }
                        }
                    
License Terms