Created
March 6, 2010 17:52
-
-
Save deepthawtz/323823 to your computer and use it in GitHub Desktop.
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
| # inspired somehow by kennyshen, though if I were him I'd want no association with this | |
| # CSS as Python | |
| from hiss import HissBuilder, HissStyle | |
| from hiss.tools import * | |
| blue = "#0000fb" | |
| class funky(HissStyle): | |
| color = "#ff00ff" | |
| font-family = "Monaco" | |
| class html(HissBuilder): | |
| height = "100%" | |
| margin-bottom = "1px" | |
| class container(funky): # inherits "funky" | |
| margin = "auto" | |
| padding = "10px" | |
| class h1(): | |
| color = blue # defined above |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment