Cargue imágenes para CSS inyectado a través de CssResource

One way to inject CSS in a GWT app is through CssResource, however if the CSS loads images, what would be the approach so that the images could still be loaded (in a efficient manner) despite the CSS path now is relative the the module name of the GWT project.

preguntado el 27 de noviembre de 13 a las 05:11

1 Respuestas

You can use image sprites in your CSS, in other words you can reference the image resources in your client bundle.

http://www.gwtproject.org/doc/latest/DevGuideClientBundle.html#Image_Sprites

respondido 27 nov., 13:07

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.