Skip to content

Instantly share code, notes, and snippets.

@jasonlemay
Last active November 16, 2015 15:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasonlemay/7f4e61498ee350686872 to your computer and use it in GitHub Desktop.
Save jasonlemay/7f4e61498ee350686872 to your computer and use it in GitHub Desktop.
Getting started with CSS (GSS) in GWT
// src/main/java/com/company/project/client/resources/pages/ContactResources.java
package com.company.project.client.resources.pages;
import com.google.gwt.resources.client.ClientBundle;
import com.google.gwt.resources.client.CssResource;
public interface ContactResources extends ClientBundle {
interface Style extends CssResource {
String contact();
String contact_form();
}
@Source("com/company/project/client/resources/css/pages/contact.gss")
Style style();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment