How to get XML Element name in CSS -
I have an XML document and want to style it with CSS, how do I ensure that each element values element name With For example I am currently trying to write in the CSS file But attr (name) does not seem to work, is it possible to get the XML element name in the style inside the CSS file? I think this is not possible. Attribute 'attribute' as the attribute name, not the tag name. To rewrite the tag data in some data-* attribute, you should write some JS and then the ATR CSS function can start working. : first.
elem: element when CSS is implemented.
elem: first {content: attr (name) ":";} < / Pre>
Comments
Post a Comment