Loading…

Explain attr() used in CSS3?

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.

Suggest An Answer

No suggestions avaliable!

Latest post from css3 interview questions

Ask Question