animation duration: {str} : in seconds, s.
animation name {str} : straight up animation name
The animation name and duration are the minimal requirements (aside from keyframe information of course) for an animation to work so perhaps they should be auto-generated/defaults if the rule class is instantiated without them.
The rule could contain:
animation duration: {str} : in seconds, s. animation name {str} : straight up animation name
The animation name and duration are the minimal requirements (aside from keyframe information of course) for an animation to work so perhaps they should be auto-generated/defaults if the rule class is instantiated without them.
Additional props include animation-delay, animation-direction, animation-duration, animation-iteration-count, animation-name, animation-play-state, animation-timing-function, animation-fill-mode.