CSS text effect style : demo 243

Best jQuery

HTML

                        
Best jQuery

CSS

(Fonts required : Lalezar)
                        .text-effect{
                            color: #227e22;
                            font-family: "Lalezar", system-ui;
                            font-size: 100px;
                            font-weight: 400;
                            text-align: center;
                            text-transform: uppercase;
                            animation: jackInTheBox 2s linear alternate infinite; 
                        }
                        @keyframes jackInTheBox {
                            from{
                                opacity: 0;
                                transform: scale(0.1) rotate(30deg);
                                transform-origin: center bottom;
                            }
                            50%{
                                transform: rotate(-10deg);
                            }
                            70%{
                                transform: rotate(3deg);
                            }
                            to{
                                opacity: 1;
                                transform: scale(1);
                            }
                        }
                        @media only screen and (max-width: 990px){
                            .text-effect{ font-size: 70px; }
                        }
                        @media only screen and (max-width: 767px){
                            .text-effect{ font-size: 60px; }
                        }
                        @media only screen and (max-width: 576px){
                           .text-effect{ font-size: 35px; }
                        }
                    
License Terms