I wouldn't say that the "recommended" way to create CSS is to use
CssResource. If I just want to create general styling, there's nothing
wrong with the CSS-file-in-the-war-directory approach.
Keep in mind that using a CssResource will require a full recompile if you
change anything, while just changing the linked CSS file in the war
directory won't.
On Wednesday, May 7, 2014 5:16:27 AM UTC-4, Dominic Warzok wrote:
>
> Hi,
>
> as the gwt documentaion says the common way to apply styles is to use css
> resources.
>
> Now I try to implement cssresoures to my webapp. But I don't find an
> example how to override standard html attributes.
>
> For example I want to style a link. In normal CSS I use:
>
> a{
> color: xxx;
> }
>
> a:hover{
> color: anotherColor;
> }
>
>
> Is this possible in CSS Resources ?
>
>
> Thanks in advance ;)
>
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.