CSS - Attr function (attribute)
About
The attr function select the value of an attribute
Articles Related
Example
<p data-length="2m" >Beyond The Sea</li>
p::before {
content: attr(data-length) " ";
}
where:
The attr function select the value of an attribute
<p data-length="2m" >Beyond The Sea</li>
p::before {
content: attr(data-length) " ";
}
where: