data-attribute

Man looking at a laptop screen coding CSS

How to style data-value attributes with CSS

Here is a great way to style any data-attributes using CSS properties. Here is the article source courtesy of CCS-Tricks.