Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS changing text color with Blink

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #43838
    samina786
    Member

    i want to change text color with blinking.. that when it blikns its color must be change. help me
    h1{
    text-decoration:blink;
    }
    > so when it blink its color must be changed to a second color which i define.

    #130392
    Paulie_D
    Member

    The “blink” value is not supported in IE, Chrome, or Safari.

    So basically…don’t.

    #130396
    Kitty Giraudel
    Participant

    Use a CSS animation.

    @keyframes blink {
    to { color: red; }
    }

    .my-element {
    color: blue;
    animation: blink 1s steps(2, start) infinite;
    }

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.