How to add style for Anchor to GWT using UIBinder? I have the following code in a UiBinder XML template:
<g:Anchor ui:field="forgotPassLink">Forgot password?</g:Anchor>
I know that .gwt-Anchor {} is used to style this widget, but still do not know how to create hover effects. In regular CSS, it will look like this:
a:link {color:#FF0000;} a:visited {color:#00FF00;} a:hover {color:#FF00FF;} a:active {color:#0000FF;}
Do I need to handle this with the BlurEvent and FocusEvent handlers on Anchor? If so ... this is boilerplate code.
css gwt anchor
zekou
source share