CSS text effect style : demo 55

Best jQuery

HTML

                        
Best jQuery

CSS

(Fonts required : Saira Stencil One)
                        .text-effect{
                            color: #fff;
                            font-family:'Saira Stencil One', cursive;
                            font-size: 100px;
                            font-weight: 700;
                            text-transform: uppercase;
                            text-align: center;
                        }
                        .text-effect span{
                            display: inline-block;
                            position: relative;
                            z-index: 1;
                        }
                        .text-effect span:before,
                        .text-effect span:after{
                            content: attr(data-content);
                            width: 100%;
                            opacity: 0.2;
                            position: absolute;
                            top: 0;
                            left: 0;
                            z-index: -1;
                        }
                        .text-effect span:before{ animation: verd 0.4s infinite; }
                        .text-effect span:after{ animation: rosa 0.4s infinite; }
                        @keyframes verd{
                            0%{ transform: translate(-7%, 0); }
                            25%{ transform: translate(-7%, -17%); }
                            50%{ transform: translate(7%, -17%); }
                            75%{ transform: translate(7%, 17%); }
                            100%{ transform: translate(-7%, 0); }
                        }
                        @keyframes rosa{
                            0%{ transform: translate(7%, 0); }
                            25%{ transform: translate(7%, 17%); }
                            50%{ transform: translate(-7%, 17%); }
                            75%{ transform: translate(-7%, -17%); }
                            100%{ transform: translate(7%, 0); }
                        }
                        @media only screen and (max-width: 990px){
                            .text-effect{ font-size: 70px; }
                        }
                        @media only screen and (max-width: 767px){
                            .text-effect{ font-size: 50px; }
                        }
                        @media only screen and (max-width: 479px){
                            .text-effect{ font-size: 40px; }
                        }
                        @media only screen and (max-width: 359px){
                            .text-effect{ font-size: 30px; }
                        }
                    
License Terms