hover effect style : demo 73

Williamson

web designer

Kristiana

Web Developer

Steve Thomas

Graphic Designer

HTML

                        

Williamson

web designer

Kristiana

Web Developer

CSS

                        .box{
                            position: relative;
                            box-shadow: 0 0 5px #555;
                        }
                        .box img{
                            width: 100%;
                            height: auto;
                            transition: all 0.3s ease 0s;
                        }
                        .box:hover img{
                            filter: brightness(0.4);
                        }
                        .box .boxContent{
                            width: 80%;
                            height: 80%;
                            position: absolute;
                            top: 10%;
                            left: 10%;
                            border-top: 1px solid #fff;
                            border-bottom: 1px solid #fff;
                            text-align: center;
                            transform: scale(0, 1);
                            transition: all 0.35s ease 0s;
                        }
                        .box:hover .boxContent{
                            transform: scale(1);
                        }
                        .box .title{
                            font-size: 25px;
                            font-weight: 600;
                            color: #fff;
                            margin: 23% 0 20px;
                            transform: translate3d(0, -100%, 0);
                            transition: all 0.35s ease 0s;
                        }
                        .box .post{
                            display: block;
                            font-size: 16px;
                            color: #fff;
                            text-transform: capitalize;
                            transform: translate3d(0, 100%, 0);
                            transition: all 0.35s ease 0s;
                        }
                        .box:hover .title,
                        .box:hover .post{
                            transform: translate3d(0, 0, 0);
                        }
                        @media only screen and (max-width: 990px){
                            .box{ margin-bottom: 25px; }
                        }
                    
License Terms