access data attribute in css code example
Example 1: js select by data attribute
$("[attribute=value]")
Example 2: data attribute html
<!-- data-* attritubes can be used on any html element -->
<div data-my-custom-data="true"></div>
$("[attribute=value]")
<!-- data-* attritubes can be used on any html element -->
<div data-my-custom-data="true"></div>