Created
October 28, 2014 08:23
-
-
Save guilhermesilveira/049a444a90ea0d2a644c to your computer and use it in GitHub Desktop.
Typesafe Css
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
client_portfolio { | |
font-size: 2em; | |
} | |
client_photo { | |
float: right; | |
} | |
client-card { | |
margin: 10px; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ClientCss { | |
public static String client_portfolio = "portfolio"; | |
public static String client_card = "card"; | |
public static String client_photo = "photo"; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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