Swap text color by draw

Asked

Viewed 28 times

0

Guys I have an array with 4 colors I would like to draw a color every 4 seconds and change the font color of an H1 I have on the page and for this use fadein and fadeout as transition. Thank you

  • 1

    John, I think the answer is the same as the question I was referring to, in your case you just have to change in .css() for $("h1").css("color", selectedcolor);

  • 1

    @When I marked it as duplicate it’s hammer type, it closes immediately. Sorry if you were writing a reply. But it’s really not duplicated?

  • 2

    You gave it right. Thanks for your help.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.