.SecondParent {
width: 100px;
height: 100px;
background: red;
}
const TheSecondParent = document.createElement("div");
const body = document.querySelector("body");
TheSecondParent.classList.add("SecondParent");
body.append(TheSecondParent);
gsap.from(".SecondParent", { duration: 1, y: "-100%", ease: "bounce" });
This Pen doesn't use any external CSS resources.