What is attr()?
In CSS3, the attr() function is used to retrieve the value of an attribute of the element selected and use it in the style sheet. This function also can be used on pseudo-elements, in which case pseudo-element's originating element attribute value will be returned.
BY Best Interview Question ON 21 Jul 2019