Skip to main content

Forums

  • 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
    Moderator

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

    So basically…don’t.

    #130396
    Hugo 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)
  • You must be logged in to reply to this topic.