How can I use CSS pseudo-classes with GWT UiBinder?

I use the linear style method recommended by the GWT UiBinder documentation . However, I am puzzled by how to use CSS pseudo-classes using UiBinder; for example, suppose otherwise (without UiBinder) this is a CSS rule:

#myLink:hover { background:blue }

Can I implement this rule in UiBinder?

+3
source share
1 answer

I am answering my question here to remove it from the list of unanswered questions.

Turns out you can easily use CSS pseudo-classes in UiBinder; For example, the following rule works fine:

#myLink:hover { background:blue }
0
source

Source: https://habr.com/ru/post/1748267/


All Articles