0

What's does the blink function do in text-decoration function in CSS?

Have applied it to check whether the text blinks or not it isn't working!

20th May 2020, 2:19 PM
Shivam Jain
Shivam Jain - avatar
3 Réponses
+ 1
The blink value is deprecated so it doesn't have any effect. In the past it was used to make text to blink rapidly. You can still do that with css keyframe but it is against W3C accessibility guidelines https://www.w3.org/WAI/WCAG21/Understanding/pause-stop-hide.html
20th May 2020, 2:56 PM
Ore
Ore - avatar
+ 3
The HTML Blink Element ( <blink> ) is a non-standard element which causes the enclosed text to flash slowly. Do not use this element as it is obsolete and is bad design practice. Blinking text is frowned upon by several accessibility standards and the CSS specification allows browsers to ignore the <blink> element
20th May 2020, 2:29 PM
Isaac Duah [Active!]
Isaac Duah [Active!] - avatar
+ 2
It also makes the text blinks slowly by creating a class id in html and add webkit-transition to text to make it move in the CSS
20th May 2020, 2:30 PM
Isaac Duah [Active!]
Isaac Duah [Active!] - avatar