I have a “large” div, with padding, and contain some text (p) elements.
I want to change the color of the text, when the div is on “hover” state.
I tried to add some custom CSS on the DIV, but I don’t know how to select a child element.
That’s a very interesting question (and need).
I’m interested in doing this also: aka CSS parent heritage / default CSS value.
Maybe we will be able to do this natively soon with the new states coming.
As for now, I would create 2 workflows on the parent element to set bool variable to true on mouse enter and set the variable to false on mouse leaveevent.
You can then bind the color property of your text to this variable using something like : if(mouse_over,"#FFFFFF","#000000").
If many elements: don’t do a bool variable but store and test the ID of your element.