开发者

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

I've been using the in-line styles approach as recommended by GWT's UiBinder documentation. I'm puzzled, though, about how to use CS开发者_运维百科S 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?


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 }
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜