Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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
Add Comment
Please, Sign In to add comment