hover effect style : demo 101

willimson

Web designer

Kristiana

Web developer

Steve Thomas

Web designer

HTML

                        

willimson

Web designer

Kristiana

Web developer

CSS

                        .box{
                            text-align: center;
                            overflow: hidden;
                            position: relative;
                        }
                        .box img{
                            width: 100%;
                            height: auto;
                        }
                        .box .box-content{
                            width: 90%;
                            height: 90%;
                            background-color: rgba(0,0,0,0.7);
                            color: #fff;
                            position: absolute;
                            top: 5%;
                            left: 5%;
                            padding: 25% 0 30px;
                            opacity: 0;
                            transform: scaleX(0);
                            z-index: 1;
                            transition: all 0.5s ease 0s;
                        }
                        .box:hover .box-content{
                            opacity: 1;
                            transform: scaleX(1);
                        }
                        .box .title{
                            font-size: 22px;
                            font-weight: 700;
                            letter-spacing: 1px;
                            margin: 0 0 10px 0;
                            text-transform: capitalize;
                        }
                        .box .post{
                            display: block;
                            font-size: 15px;
                            margin-bottom: 20px;
                            text-transform: capitalize;
                        }
                        .box .social{
                            list-style: none;
                            padding: 0;
                            margin: 0;
                        }
                        .box .social li{
                            display: inline-block;
                        }
                        .box .social li a{
                            display: block;
                            width: 40px;
                            height: 40px;
                            line-height: 40px;
                            border-radius: 3px;
                            border: 1px solid #fff;
                            font-size: 20px;
                            color: #fff;
                            transition: all 0.5s ease 0s;
                        }
                        .box .social li a:hover{
                            background: #3dd998;
                            border: 1px solid #3dd998;
                        }
                        @media only screen and (max-width:990px){
                            .box{ margin-bottom: 30px; }
                        }
                    
License Terms