hover effect style : demo 78

Williamson

web designer

Kristiana

Web Developer

Steve Thomas

Graphic Designer

HTML

                        

Williamson

web designer

Kristiana

Web Developer

CSS

                        .box{
                            position: relative;
                            overflow: hidden;
                            transition: all 0.5s ease 0s;
                        }
                        .box:hover{
                            cursor: pointer;
                        }
                        .box img{
                            width: 100%;
                            height: auto;
                            transition: all 0.5s ease 0s;
                        }
                        .box:hover img{
                            transform: scale(1.1);
                        }
                        .box .box-content{
                            width: 100%;
                            height: 100%;
                            background-color: rgba(0,0,0,0.7);
                            position: absolute;
                            top: 70px;
                            left: 70px;
                            padding-top: 39%;
                            text-align: center;
                            color: #fff;
                            opacity: 0;
                            transition: all 0.5s ease 0s;
                        }
                        .box:hover .box-content{
                            top: 0;
                            left: 0;
                            opacity: 1;
                        }
                        .box .title{
                            font-size: 24px;
                            margin-bottom: 10px;
                            text-transform: capitalize;
                        }
                        .box .post{
                            font-size: 14px;
                            text-transform: capitalize;
                        }
                        @media only screen and (max-width: 980px){
                            .box{ margin-bottom: 20px; }
                        }
                    
License Terms