hover effect style : demo 225

Miranda Roy

web developer

Kristina

web designer

Williamson

web developer

HTML

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

Miranda Roy

web developer

Kristina

web designer

CSS

(Fonts required: KoHo)
                        :root{ --main-color: #1abc9c; }
                        .box{
                            font-family: 'KoHo', sans-serif;
                            text-align: center;
                            border: 3px solid var(--main-color);
                            overflow: hidden;
                            perspective: 800px;
                            position: relative;
                        }
                        .box:before{
                            content: '';
                            background-color: var(--main-color);
                            background-image:
                                linear-gradient(45deg, rgba(255,255,255,0.3) 25%, transparent 26%, transparent 74%, rgba(255,255,255,0.5) 75%),
                                linear-gradient(-45deg, rgba(255,255,255,0.3) 25%, transparent 26%, transparent 74%, rgba(255,255,255,0.5) 75%);
                            background-size: 30px 30px;
                            height: 100%;
                            width: 100%;
                            transform: rotateX(-90deg);
                            transform-origin: center bottom;
                            position: absolute;
                            left: 0;
                            top: 0;
                            z-index: 1;
                            transition: all 0.5s;
                        }
                        .box:hover:before{
                            opacity: 0.5;
                            transform: rotateX(0);
                        }
                        .box img{
                            width: 100%;
                            height: auto;
                        }
                        .box .box-content{
                            color: var(--main-color);
                            background-color: #fff;
                            width: 60%;
                            padding: 15px 10px 10px;
                            border: 5px solid var(--main-color);
                            box-shadow: 0 0 20px rgba(0,0,0,0.5);
                            border-radius: 20px;
                            opacity: 0;
                            transform: translatex(-50%) translateY(-50%) scale(1.3);
                            position: absolute;
                            left: 50%;
                            top: 50%;
                            z-index: 1;
                            transition: all 0.3s ease 0.2s;
                        }
                        .box:hover .box-content{
                            opacity: 1;
                            transform: translatex(-50%) translateY(-50%) scale(1);
                        }
                        .box .title{
                            font-size: 22px;
                            font-weight: 600;
                            text-transform: uppercase;
                            margin: 0;
                        }
                        .box .post{
                            font-size:16px;
                            font-weight: 600;
                            margin: 0 0 7px;
                            display: block;
                        }
                        .box .icon{
                            text-align: center;
                            padding: 0;
                            margin: 0;
                            list-style: none;
                        }
                        .box .icon li{ display: inline-block; }
                        .box .icon li a{
                            color: #fff;
                            background-color: var(--main-color);
                            font-size: 20px;
                            line-height: 35px;
                            height: 35px;
                            width: 35px;
                            margin: 0 5px;
                            border-radius: 5px 20px 5px;
                            display: block;
                            transition: all 0.3s;
                        }
                        .box .icon li a:hover{
                            color: var(--main-color);
                            background-color: #fff;
                            box-shadow: 0 0 15px var(--main-color);
                        }
                        @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