Instantly share code, notes, and snippets.

Embed
What would you like to do?
Getting started with CSS (GSS) in GWT
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'>
<ui:with field="resources" type="com.company.project.client.resources.AppResources"/>
<div>
<h1>Hello World!</h1>
<p class="{resources.style.my_first_class}">This is my first paragraph.</p>
<p class="{resources.style.my_second_class}">This is my second paragraph.</p>
</div>
</ui:UiBinder>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment