hover effect style : demo 171

Williamson

Web Developer

Kristiana

Web Designer

Steve Thomas

Web Developer

HTML

                        

Williamson

Web Developer

Kristiana

Web Designer

CSS

                        .box{
                            text-align: center;
                            box-shadow: 0 0 3px rgba(0,0,0,0.3);
                            position: relative;
                        }
                        .box img{
                            width: 100%;
                            height: auto;
                        }
                        .box .box-content{
                            padding-top: 15%;
                            border: 1px solid #fff;
                            background: rgba(0,0,0,0.6);
                            position: absolute;
                            top: 20px;
                            left: 20px;
                            bottom: 20px;
                            right: 20px;
                            opacity: 0;
                            transform: scaleY(0);
                            transition: all 0.5s ease 0s;
                        }
                        .box:hover .box-content{
                            opacity: 1;
                            transform: scaleY(1);
                        }
                        .box .title{
                            font-size: 22px;
                            font-weight: 700;
                            color: #da2d5b;
                            letter-spacing: 1px;
                            text-transform: uppercase;
                            margin: 0 0 10px;
                        }
                        .box .post{
                            display: block;
                            font-size: 15px;
                            font-style: italic;
                            font-weight: 600;
                            color: #fff;
                            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;
                            font-size: 20px;
                            color: #fff;
                            margin-right: 5px;
                            position: relative;
                        }
                        .box .icon li a:before{
                            content: "";
                            width: 100%;
                            height: 100%;
                            background: transparent;
                            border: 1px solid #fff;
                            position: absolute;
                            top: 0;
                            left: 0;
                            z-index: -1;
                            transition: all 0.3s ease 0s;
                        }
                        .box .icon li a:hover:before{
                            border: #da2d5b;
                            background: #da2d5b;
                            transform: rotate(180deg);
                        }
                        @media only screen and (max-width:990px){
                            .box{ margin-bottom: 30px; }
                        }
                    
License Terms