Getting started with CSS (GSS) in GWT
// src/main/java/com/company/project/client/application/contact/ContactView.ui.xml | |
<ui:UiBinder xmlns:ui='urn:ui:com.google.gwt.uibinder'> | |
<ui:with field="resources" type="com.company.project.client.resources.AppResources"/> | |
<ui:with field="pageResources" type="com.company.project.client.resources.pages.ContactResources"/> | |
<div class="{pageResources.style.contact}"> | |
<h1>My contact page!</h1> | |
<p class="{resources.style.class_from_style_gss}"> | |
This is a beautiful contact form. | |
</p> | |
<form class="{pageResources.style.contact_form}"> | |
<input type="email" placeholder="your email please" /> | |
<input type="submit" value="Go!" /> | |
</form> | |
</div> | |
</ui:UiBinder> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment