How to animate the Color of a Text Link using CSS?

I want to change the color of one menu item or animate text color.

1 Answer

  1. <!DOCTYPE html>
    <html lang=”en”>
    <head>
    <meta charset=”utf-8″>
    <title>Animate the Color of a Text Link using CSS</title>
    <style>
    @keyframes menucolor {
    from {background-color: #000000;}
    to {background-color: #FFBC25;}
    }
    .color-change {

    }
    .color-change a {
    animation-name: menucolor;
    animation-duration: 30s;
    }

    </style>
    </head>
    <body>
    <div class=”color-change”><h1><a href=”#”>Text color will be changed…</a></h1></div>
    </body>
    </html>

  2. Reply

Leave a Comment

izmir eskort - mersin eskort bayan - adana eskort - antalya eskort - eskort istanbul
Code Compiler Web Tools Contact