views:

133

answers:

1

I've been using the in-line styles approach as recommended by GWT's UiBinder documentation. I'm puzzled, though, about how to use CSS pseudo-classes with UiBinder; for example, suppose I would otherwise (without UiBinder) have this CSS rule:

#myLink:hover { background:blue }

Can I implement that rule in UiBinder?

A: 

I'm answering my own question here so that it is removed from the Unanswered questions list.

It turns out that you can use CSS pseudo-classes pretty seamlessly in UiBinder; for example, the following rule works just fine:

#myLink:hover { background:blue }
David