Wednesday, September 4, 2013

Change Stylesheet depending on device

Hey,

it ist possible to change the css in GWT depending which device the User has? 

f.e. if the User call my WebApp with chrome I want to load myWebapp.css
when the User load from a website I want to remove myWebapp.css and replace it with myWebappMobile,css. 
 
I'm looking for something simular to <replace-with> </replace-with> in gwt.xml but I found this only for java classes.

Does any one know a good solution for this ? 


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 google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment