Blinking text cross browser

后端 未结 11 2349
刺人心
刺人心 2020-12-05 00:55

I want to make a blinking text.

First I tried the HTML tag, but it is only supported in Mozilla Firefox.

Then I tried CSS:

11条回答
  •  执笔经年
    2020-12-05 01:15

    You can also use this:

    function blinkIt() {
        if (!document.all) return;
        else {
            for(i=0;i

    You may use a timer instead of using the tag. I have tested this on IE7 and Firefox. Both browsers allow this, however Chrome doesn’t work properly. Hope you got the answer.

提交回复
热议问题