CSS text effect style : demo 226

Best jQuery

HTML

                        
Best jQuery

CSS

(Fonts required : Protest Guerrilla)
                        .demo{ background: #000; }
                        .text-effect{
                            color: #c50202;
                            font-family: "Protest Guerrilla", sans-serif;
                            font-size: 100px;
                            font-weight: 900;
                            text-align: center;
                            text-transform: uppercase;
                            position: relative;
                            z-index: 1;
                        }
                        .text-effect:before,
                        .text-effect:after{
                            content: attr(data-content);
                            color: transparent;
                            background-image: repeating-linear-gradient(45deg,transparent 0,transparent 2px,#fff 2px,#fff 4px);
                            -webkit-background-clip: text;
                            width:100%;
                            position: absolute;
                            top: 0;
                            left: 0;
                            transition: 1s;
                            animation: animate 1.5s infinite alternate ease-in-out;
                        }
                        .text-effect:after{
                            background-image: repeating-linear-gradient(135deg,transparent 0,transparent 2px,#fff 2px,#fff 4px);
                            animation: animate_1 1.5s infinite alternate ease-in-out;
                            z-index: -1;
                        }
                        @keyframes animate{
                            0%{
                                top: 0;
                                left: 0;  
                            }
                            100%{ 
                                top: 10px;
                                left: 10px; 
                            }     
                        }
                        @keyframes animate_1{
                            0%{
                                top: 0;
                                left: 0;  
                            }
                            100%{ 
                                top: -10px;
                                left: -10px; 
                            }     
                        }
                        @media only screen and (max-width: 767px){
                            .text-effect{ font-size: 65px; }
                        }
                        @media only screen and (max-width: 576px){
                            .text-effect{ font-size: 45px; }
                        }
                    
License Terms