hover effect style : demo 215

Steve Thomas

Web developer

Kristina

Web designer

Williamson

Web designer

HTML

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

Steve Thomas

Web developer

Kristina

Web designer

CSS

(Fonts required: Ubuntu)
                        :root{
                            --color_1: #fff;
                            --color_2: #d12138;
                        }
                        .box{
                            font-family: 'Ubuntu', sans-serif;
                            text-align: center;
                            overflow: hidden;
                            position: relative;
                        }
                        .box:before{
                            content: '';
                            background-color: rgba(255,255,255,0.7);
                            height: 75%;
                            width: 75%;
                            opacity: 0;
                            transform: translateX(-50%) translateY(-50%) scale(0);
                            position: absolute;
                            left: 50%;
                            top: 50%;
                            z-index: 1;
                            transition: all 0.3s ease 0.1s;
                        }
                        .box:hover:before{
                            opacity: 1;
                            transform: translateX(-50%) translateY(-50%) scale(1);
                        }
                        .box img{
                            width: 100%;
                            height: auto;
                            transition: all 0.3s ease 0s;
                        }
                        .box:hover img{ filter: hue-rotate(200deg); }
                        .box .box-content{
                            color: var(--color_1);
                            background-color: rgba(0, 0, 0, 0.75);
                            width: 100%;
                            height: 100%;
                            opacity: 1;
                            transform: rotate(90deg);
                            transform-origin: 100% 0%;
                            position: absolute;
                            left: 0;
                            top: 0;
                            z-index: 1;
                            transition:all 0.3s;
                        }
                        .box:hover .box-content{
                            background-color: rgba(0, 0, 0, 0.01);
                            transform-origin: 0 100%;
                            transform: rotate(0);
                        }
                        .box .content{
                            width: 65%;
                            transform: translateX(-50%) translateY(-50%);
                            position: absolute;
                            left: 50%;
                            top: 50%;
                        }
                        .box .title{
                            color: var(--color_2);
                            font-size: 22px;
                            font-weight: 800;
                            text-transform: uppercase;
                            text-shadow: 0 0 5px #fff;
                            margin: 0;
                        }
                        .box .post{
                            color: #000;
                            font-size: 16px;
                            text-transform: capitalize;
                            margin-bottom: 5px;
                            display: block;
                        }
                        .box .icon{
                            list-style: none;
                            padding: 0;
                            margin: 0;
                        }
                        .box .icon li{ display: inline-block; }
                        .box .icon li a{
                            color: var(--color_1);
                            background-color: var(--color_2);
                            font-size: 20px;
                            text-align: center;
                            line-height: 35px;
                            height: 35px;
                            width: 35px;
                            border-radius: 50% 0 50% 50%;
                            display: block;
                            transition: all 0.3s ease 0s;
                        }
                        .box .icon li a:hover{
                            color: var(--color_2);
                            background-color: var(--color_1);
                            box-shadow: 0 0 5px #999 inset, 0 0 0 2px var(--color_2);
                        }
                        @media only screen and (max-width:990px){
                            .box{ margin-bottom: 30px; }
                        }
                        @media only screen and (max-width:479px){
                            .box .title{ font-size: 20px; }
                        }
                    
License Terms