Allows GSAP to animate the raw style sheet rules which affect all objects of a particular selector rather than affecting an individual DOM element's
style (that's what the CSSPlugin is for).
For example, if you have a CSS class named
".myClass" that sets
"#FF0000", you could tween that to a different color and ALL of the objects on the page that use
".myClass" would have their background color change. Typically it is best to use the regular CSSPlugin to animate css-related properties of individual elements so that you can get very precise control over each object, but sometimes it can be useful to tween the global rules themselves instead. For example, pseudo elements (like
Learn more in the CSSRulePlugin documentation.