hover effect style : demo 270

Williamson

Web designer

Miranda Roy

Web designer

Steve Thomas

Web developer

HTML

(Icon Fonts Used : Fontawesome & CSS Framwork: Bootstrap)
                        
                        

Williamson

Web designer

Miranda Roy

Web designer

CSS

(Fonts required: Bellota)
                        .box{
                            font-family: 'Bellota', cursive;
                            overflow: hidden;
                            position: relative;
                        }
                        .box:before{
                            content: '';
                            height: 100%;
                            width: 100%;
                            border: 2px solid rgba(0,0,0,0.3);
                            position: absolute;
                            left: 0;
                            top: 0;
                            z-index: 1;
                            transition: all 0.6s ease 0s;
                        }
                        .box:hover:before{ border: 270px solid rgba(0,0,0,0.5); }
                        .box img{
                            width: 100%;
                            height: auto;
                            transform-origin: right center;
                            transition: all .4s ease-in-out;
                        }
                        .box:hover img{ transform: scale(1.2); }
                        .box .box-content{
                            color: #fff;
                            text-align: center;
                            width: 100%;
                            opacity: 0;
                            transform: translateY(-50%) scale(0.1);
                            position: absolute;
                            top: 50%;
                            left: 0;
                            z-index: 1;
                            transition: all 0.4s ease 0.1s;
                        }
                        .box:hover .box-content{
                            opacity: 1;
                            transform: translateY(-50%) scale(1);
                        }
                        .box .title{
                            font-size: 22px;
                            font-weight: 700;
                            text-transform: uppercase;
                            text-shadow: 0 0 5px rgba(0,0,0,0.8);
                            margin: 0;
                        }
                        .box .post{
                            font-size: 16px;
                            font-weight: 500;
                            font-style: italic;
                            text-transform: capitalize;
                            text-shadow: 0 0 5px rgba(0,0,0,0.8);
                        }
                        .box .icon{
                            padding: 0;
                            margin: 0;
                            list-style: none;
                            position: absolute;
                            top: 10px;
                            right: 10px;
                            z-index: 2;
                        }
                        .box .icon li{
                            margin: 0 0 0 2px;
                            display: inline-block;
                            vertical-align: top;
                            opacity: 0;
                            transition: 0.4s ease 0.3s;
                        }
                        .box:hover .icon li{ opacity: 1; }
                        .box:hover .icon li:nth-child(1){ transition-delay: 0.4s; }
                        .box .icon li a{
                            color: #111;
                            background: #fff;
                            font-size: 14px;
                            text-align: center;
                            line-height: 30px;
                            height: 30px;
                            width: 30px;
                            border-radius: 5px;
                            display: block;
                            transition: 0.3s ease-in-out;
                        }
                        .box .icon li a:hover{
                            line-height: 40px;
                            height: 40px;
                            box-shadow: 0 0 5px #999 inset;
                        }
                        @media only screen and (max-width:990px){
                            .box { margin: 0 0 30px; }
                        }
                    
License Terms