CSS text effect style : demo 82

Best jQuery

HTML

                        
Best jQuery

CSS

(Fonts required : Viga)
                        .text-effect{
                            font-family: 'Viga', sans-serif;
                            font-size: 100px;
                            line-height: 85px;
                            text-align: center;
                            margin: 40px auto 0;
                        }
                        .text-effect span{
                            color: #fff;
                            display: inline-block;
                            animation: float 2200ms ease-in-out alternate infinite forwards;
                        }
                        .text-effect span:nth-child(1){ animation-delay: calc(0 * -0.5s); }
                        .text-effect span:nth-child(2){ animation-delay: calc(1 * -0.5s); }
                        .text-effect span:nth-child(3){ animation-delay: calc(2 * -0.5s); }
                        .text-effect span:nth-child(4){ animation-delay: calc(3 * -0.5s); }
                        .text-effect span:nth-child(5){ animation-delay: calc(4 * -0.5s); }
                        .text-effect span:nth-child(6){ animation-delay: calc(5 * -0.5s); }
                        .text-effect span:nth-child(7){ animation-delay: calc(6 * -0.5s); }
                        .text-effect span:nth-child(8){ animation-delay: calc(7 * -0.5s); }
                        .text-effect span:nth-child(9){ animation-delay: calc(8 * -0.5s); }
                        .text-effect span:nth-child(10){ animation-delay: calc(9 * -0.5s); }
                        @keyframes float{
                            0%{ transform: translate(2%, -10%) rotate(-1deg); }
                            100%{ transform: translate(-2%, 5%) rotate(3deg); }
                        }
                        @media only screen and (max-width: 990px){
                            .text-effect{ font-size: 90px; }
                        }
                        @media only screen and (max-width: 767px){
                            .text-effect{ font-size: 75px; }
                        }
                        @media only screen and (max-width: 576px){
                            .text-effect{ font-size: 55px; }
                        }
                        @media only screen and (max-width: 479px){
                            .text-effect{ font-size: 40px; }
                        }
                    
License Terms