hover effect style : demo 207

Williamson

Web Developer

Kristiana

Web Designer

Steve Thomas

Web Developer

HTML

                        

Williamson

Web Developer

Kristiana

Web Designer

CSS

                        .demo{ background: #505050; }
                        .box{
                            background: #5f243e;
                            border: 10px solid rgba(255,255,255,0.8);
                            text-align: center;
                            overflow: hidden;
                            z-index: 1;
                            position: relative;
                        }
                        .box:before{
                            content: "";
                            width: 100%;
                            height: 100%;
                            background: repeating-linear-gradient(45deg, rgba(0,0,0,0.1), rgba(0,0,0,0.1), 10px, transparent 20px, transparent 30px),
                                repeating-linear-gradient(-45deg, rgba(0,0,0,0.3), rgba(0,0,0,0.3), 10px, transparent 20px, transparent 30px);
                            position: absolute;
                            top: 0;
                            left: 0;
                            z-index: -1;
                        }
                        .box img{
                            width: 100%;
                            height: 100%;
                            transform: scale(1);
                            transition: all 0.3s ease 0s;
                        }
                        .box:hover img{ transform: scale(1,0); }
                        .box .box-content{
                            width: 100%;
                            position: absolute;
                            top: 50%;
                            left: 50%;
                            opacity: 0;
                            z-index: -1;
                            transform: translate(-50%, -50%) rotate(45deg);
                            transition: all 0.3s ease 0.3s;
                        }
                        .box:hover .box-content{
                            opacity: 1;
                            transform: translate(-50%, -50%) rotate(0);
                        }
                        .box .title{
                            font-size: 22px;
                            font-weight: 600;
                            color: #fff;
                            letter-spacing: 1px;
                            text-transform: uppercase;
                            margin: 0;
                        }
                        .box .post{
                            display: block;
                            font-size: 14px
                            font-style: italic;
                            color: #fff;
                            letter-spacing: 2px;
                        }
                        .box .icon{
                            padding: 0;
                            margin: 0;
                            list-style: none;
                        }
                        .box .icon li{
                            display: inline-block;
                            margin: 10px 5px;
                        }
                        .box .icon li a{
                            display: block;
                            width: 35px;
                            height: 35px;
                            line-height: 35px;
                            border-radius: 50% 50% 50% 0;
                            background: #fff;
                            font-size: 18px;
                            color: #5f243e;
                            transition: all 0.3s ease 0s;
                        }
                        .box .icon li a:hover{ box-shadow: 0 0 10px rgba(0,0,0,0.2) inset,0 0 0 2px #5f243e,0 0 0 5px #fff; }
                        @media only screen and (max-width:990px){
                            .box{ margin-bottom: 30px; }
                        }
                    
License Terms