CSS text effect style : demo 74

Best jQuery

HTML

                        
Best jQuery

CSS

(Fonts required : Righteous)
                        :root{
                            --color-orange: #D49C3D;
                            --color-red: #D14B3D;
                            --color-green: #5ACB3C;
                            --color-yellow: #DEBF40;
                        }
                        .text-effect{
                            color: #fff;
                            font-family: 'Righteous', cursive;
                            font-size: 100px;
                            text-align: center;
                            text-transform: uppercase;
                            text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000, 4px 4px 0 rgba(0, 0, 0, .2);
                            position: relative;
                            z-index: 1;
                            animation: rainbow 1.5s ease-in-out infinite;
                        }
                        .text-effect:before,
                        .text-effect:after,
                        .text-effect span:before,
                        .text-effect span:after{
                            content: attr(data-title);
                            color: var(--color-green);
                            width: 100%;
                            height: 100%;
                            position: absolute;
                            top: 0;
                            left: calc(2px * 1);
                            z-index: -1;
                            animation: rainbow 1.5s ease-in-out infinite;
                            animation-delay: calc(1 / 10 * 1s);
                        }
                        .text-effect:after{
                            color: var(--color-orange);
                            left: calc(2px * 2);
                            z-index: -2;
                            animation-delay: calc(2 / 10 * 1s);
                        }
                        .text-effect span:before{
                            color: var(--color-yellow);
                            left: calc(2px * 3);
                            z-index: -3;
                            animation-delay: calc(3 / 10 * 1s);
                        }
                        .text-effect span:after{
                            color: var(--color-red);
                            left: calc(2px * 4);
                            z-index: -4;
                         	animation-delay: calc(4 / 10 * 1s);
                        }
                        @keyframes rainbow{
                            0%, 100%{ transform: translatey(2rem); }
                            50%{ transform: translatey(calc(2rem * -1)); }
                        }
                        @media only screen and (max-width: 990px){
                            .text-effect{ font-size: 100px; }
                        }
                        @media only screen and (max-width: 767px){
                            .text-effect{ font-size: 80px; }
                        }
                        @media only screen and (max-width: 576px){
                            .text-effect{ font-size: 50px; }
                        }
                        @media only screen and (max-width: 479px){
                            .text-effect{ font-size: 35px; }
                        }
                    
License Terms