Python Dynamically Create Class Attributes Css Animation Generator