hover effect style : demo 201

Williamson

Web Developer

Kristiana

Web Designer

Steve Thomas

Web Developer

HTML

                        

Williamson

Web Developer

Kristiana

Web Designer

CSS

                        .demo{ background: #909090; }
                        .box{
                            text-align: center;
                            overflow: hidden;
                            position: relative;
                        }
                        .box:before{
                            content: "";
                            width: 100%;
                            height: 100%;
                            background-image: repeating-linear-gradient(45deg, transparent 10px, transparent 10px, rgba(0,0,0,0.4) 15px, rgba(0,0,0,0.4) 15px, transparent 20px, transparent 20px, rgba(0,0,0,0.7) 25px, rgba(0,0,0,0.7) 25px);
                            position: absolute;
                            top: 0;
                            left: 0;
                            opacity: 0;
                            z-index: 1;
                            transform: scale(0.5);
                            -webkit-clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
                            clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
                            transition: all 0.5s ease 0s;
                        }
                        .box:hover:before{
                            opacity: 1;
                            -webkit-clip-path: none;
                            clip-path: none;
                            transform: scale(1);
                        }
                        .box img{
                            width: 100%;
                            height: auto;
                            transition: all 0.3s ease 0s;
                        }
                        .box:hover img{ filter: grayscale(80%) blur(2px); }
                        .box .box-content{
                            width: 100%;
                            padding: 15px 0 10px;
                            background: #0185cf;
                            color: #fff;
                            position: absolute;
                            bottom: -100%;
                            left: 0;
                            opacity: 0;
                            z-index: 1;
                            -webkit-clip-path: polygon(51% 0, 100% 20%, 100% 100%, 0 100%, 0 20%);
                            clip-path: polygon(51% 0, 100% 20%, 100% 100%, 0 100%, 0 20%);
                            transition: all 0.3s ease 0s;
                        }
                        .box:hover .box-content{
                            bottom: 0;
                            opacity: 1;
                        }
                        .box .title{
                            font-size: 22px;
                            font-weight: 600;
                            letter-spacing: 1px;
                            text-transform: capitalize;
                            margin: 0 0 3px 0;
                        }
                        .box .post{
                            display: block;
                            font-size: 14px;
                            font-style: italic;
                            letter-spacing: 1px;
                            text-transform: uppercase;
                        }
                        .box .icon{
                            padding: 0;
                            margin: 0;
                            list-style: none;
                            position: absolute;
                            top: 50px;
                            left: -100%;
                            z-index: 1;
                            transition: all 0.3s ease 0s;
                        }
                        .box:hover .icon{ left: 0; }
                        .box .icon li{
                            display: block;
                            margin: 0 0 10px 0;
                        }
                        .box .icon li a{
                            display: block;
                            width: 45px;
                            height: 45px;
                            line-height: 45px;
                            border-radius: 0 50% 50% 0;
                            border: 1px solid #0185cf;
                            background: #0185cf;
                            font-size: 17px;
                            color: #fff;
                            text-align: center;
                            transition: all 0.3s ease 0s;
                        }
                        .box .icon li a:hover{
                            color: #0185cf;
                            border-color: #0185cf;
                            border-right: 5px solid #0185cf;
                            background: #fff;
                        }
                        @media only screen and (max-width:990px){
                            .box{ margin-bottom: 30px; }
                        }
                    
License Terms