CSS text effect style : demo 249

Best jQuery

HTML

                        
Best jQuery

CSS

(Fonts required : Madimi One)
                        :root{
                            --white:#fff;
                            --background: #006266;
                        }
                        .demo{ background: var(--background); }
                        .text-effect{
                            color: var(--white);
                            font-family: "Madimi One", sans-serif;
                            font-size: 100px;
                            font-weight: 700;
                            text-align: center;
                            position: relative;
                            animation: floating 1s ease-out infinite alternate;
                        }
                        @keyframes floating{
                            0% { transform: translateY(0); }
                            100% { transform: translateY(-25px); }
                        }
                        @media only screen and (max-width: 990px){
                            .text-effect{ font-size: 80px; }
                        }
                        @media only screen and (max-width: 767px){
                            .text-effect{ font-size: 60px; }
                        }
                        @media only screen and (max-width: 576px){
                            .text-effect{ font-size: 45px; }
                        }
                    
License Terms