Perform Animation on CSS letter-spacing property

CSSWeb DevelopmentFront End Technology

To implement animation on the letter-spacing property with CSS, you can try to run the following code

Example

Live Demo

<!DOCTYPE html>
<html>
   <head>
      <style>
         p {
            letter-spacing: 3px;
            animation: mymove 3s infinite;
         }
         @keyframes mymove {
            70% {
               letter-spacing: 20px;
            }
         }
      </style>
   </head>
   <body>
      <p>I am flying!</p>
   </body>
</html>
raja
Published on 07-Jun-2018 15:16:08
Advertisements