Guest User

Untitled

a guest
May 20th, 2018
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. # inspired somehow by kennyshen, though if I were him I'd want no association with this
  2.  
  3. # CSS as Python
  4.  
  5. from hiss import HissBuilder, HissStyle
  6. from hiss.tools import *
  7.  
  8. blue = "#0000fb"
  9.  
  10. class funky(HissStyle):
  11. color = "#ff00ff"
  12. font-family = "Monaco"
  13.  
  14. class html(HissBuilder):
  15. height = "100%"
  16. margin-bottom = "1px"
  17.  
  18. class container(funky): # inherits "funky"
  19. margin = "auto"
  20. padding = "10px"
  21.  
  22. class h1():
  23. color = blue # defined above
Add Comment
Please, Sign In to add comment