Alternative for <blink>

后端 未结 14 2242
广开言路
广开言路 2020-11-27 06:39

The tag was never an official standard, and is now completely abandoned by all browsers.

Is there a standards compliant way of making text blink?

14条回答
  •  再見小時候
    2020-11-27 06:58

    The solution below is interesting because it can be applied across multiple elements concomitantly and does not trigger an error when the element no longer exists on the page. The secret is that it is called passing as a parameter a function in which you must return the elements you want to be affected by the blink. Then this function is called back with each blink. HTML file below:

    
    
        
            
        
        
            

    Blink test

    Brazil elected President Bolsonaro because he was the only candidate who did not promise free things to the population. Previous politicians created an image that would bring many benefits, but in the end, the state has been getting more and more burdened. Brazil voted for the realistic idea that there is no free lunch.

提交回复
热议问题