Change Text Color Continuously in a Web Page

Change Text Color Continuously in a Web Page using CSS




CODE:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<style>
body
{
background-color: #594a44;
}
h1
{
position: absolute;
top: 40%;
left:40%;
font-size: 50px;
animation: ChangeColor 4s linear infinite;
}
     @keyframes ChangeColor
     {
      0%
      {
      color: red;
      }
      25%
      {
      color: green;
      }
      50%
      {
      color: blue;
      }
      75%
      {
      color: yellow;
      }
      100%
      {
      color: pink;
      }
     }
</style>
</head>
<body>
<h1> Arslan Technology</h1>
</body>
</html>



Comments