How to add multiple classes in GSAP animation Code in Banner Animation Posted June 22, 2020 Hello There, Could you please guide me to add multiple classes in one line. Here is the code. .to(".white1", {opacity: 1}) .to(".white2", {opacity: 1}) .to(".white3", {opacity: 1}) .to(".white4", {opacity: 1}) -------- Example: .to(".white1", ".white2", ".white3", ".white4", {opacity: 1}) - Not sure this is correct code or not. I need to display white colar at same time instead of coming one-by-one. Thanks in advance. Harshal Vanarse.
How to add multiple classes in GSAP animation Code
in Banner Animation
Posted
Hello There,
Could you please guide me to add multiple classes in one line.
Here is the code.
.to(".white1", {opacity: 1})
.to(".white2", {opacity: 1})
.to(".white3", {opacity: 1})
.to(".white4", {opacity: 1})
--------
Example: .to(".white1", ".white2", ".white3", ".white4", {opacity: 1}) - Not sure this is correct code or not.
I need to display white colar at same time instead of coming one-by-one.
Thanks in advance.
Harshal Vanarse.