Posts tagged 〝dataattributes〞
Data attributes rock – as both CSS and JavaScript know them
October 10th, 2012 at 3:06 pm
Using HTML5 data attributes for game state: read and write them via the dataset API, style them with CSS attribute selectors and show them with attr().