The docs show that the first argument to the methods .to, .from, .staggerTo, .staggerFrom and staggerFromTo is an Object:
This blog post, however, notes that is can also be a string representing a selector:
as of version 1.13.1, GSAP uses that as a fallback (after attempting to detect a selector engine like jQuery). That means that you can do something like this, for example:
TweenLite.to("li:first-child, li:last-child", 1, {opacity:0.5});
Can the docs please be updated to reflect that this argument can also be a selector string? Cheers!
-Skye