So I have a handful of momentary buttons that I’ve coded up to function as my Roku remote control. I’m wondering if there is a way to customize the CSS on a per-button basis so that, for example, the ‘up’ momentary button has an ‘up’ icon and the ‘down’ momentary button has a ‘down’ icon. It seems that the only way to customize the CSS would be to customize the entire momentary button class, rather than individual buttons.
Any help or guidance is appreciated.
1 Like
tgauchat
(ActionTiles.com co-founder Terry @ActionTiles; GitHub: @cosmicpuppy)
2
Use
data-device=smarthings device ID
as a CSS selector, as in this example and several other posts in the Topic.