Skip to content

Instantly share code, notes, and snippets.

@guilhermesilveira
Created October 28, 2014 08:23
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 guilhermesilveira/049a444a90ea0d2a644c to your computer and use it in GitHub Desktop.
Save guilhermesilveira/049a444a90ea0d2a644c to your computer and use it in GitHub Desktop.
Typesafe Css
client_portfolio {
font-size: 2em;
}
client_photo {
float: right;
}
client-card {
margin: 10px;
}
class ClientCss {
public static String client_portfolio = "portfolio";
public static String client_card = "card";
public static String client_photo = "photo";
}
<div class="${css.client.portfolio}">
<div class="${css.client.card} ${css.client.photo}">
Client win!
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment