fork(3) download
  1. class Button:
  2. def __init__(self):
  3. self.color = "#090909"
  4. self.padding = "0.7em 1.7em"
  5. self.font_size = "18px"
  6. self.border_radius = "0.5em"
  7. self.background = "#e8e8e8"
  8. self.cursor = "pointer"
  9. self.border = "1px solid #e8e8e8"
  10. self.transition = "all 0.3s"
  11. self.box_shadow = "6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff"
  12.  
  13. def active(self):
  14. self.color = "#666"
  15. self.box_shadow = "inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff"
Success #stdin #stdout 0.06s 63528KB
stdin
Standard input is empty
stdout
Standard output is empty