Hi!
Im new in gsap. I have an object in css. Initially i hide this object using display none & opacity 0 in css. Now in animation i want to show the object for a few seconds & hide it back smoothly. Now i have done the show animation using tweenmax. But the problem is, I cant hide it back smoothly... Can u give me any solutions?
//CSS
#skills .screens .small-box #hide {
display: none;
opacity: 0;
visibility: hidden;
}
//Javascript
var show_cont = TweenMax.to('#skills .screens .small-box #hide', 2.5, {
delay: 2.5,
display: "block",
opacity: 1,
visibility: "visible"
});