how to use multiple css content something content text conte
how to use multiple css content
.something{
content: \"text\";
content: \"text\";
content: \"text\";
content: \"text\";
}
Solution
if you want to select elements of a particular class and multiple css then ,
.classname{
content: attr(class) \' \' attr(unique attribute name);
content : attr(class) \' \' attr(unique attribute name);
---
----
So on
}
first attr is used to select the class name second attribute is used to select the tag based on a special attribute.
Example :
<p class=\"para\" total-size=\"30\"></p>
.para{
content:attr(class) \' \' attr(total-size);
}
