Cannot hide elements immediately

i have some transitions on transform: translateY, consequently, applying a hide class (which has visibility: hidden) doesnt hide stuff immediately, when I remove transitions from transform, then the stuff hides "immediately" what should i do? are there any alternate to translateY? (i cant find any online)
2 Replies
brr
brrOP3mo ago
making a codepen real quick
Chris Bolson
Chris Bolson3mo ago
The only that reason that I can think of as to why a transition isn’t instant is because it has a duration > 0ms or a delay > 0ms As you say, a Codepen would help

Did you find this page helpful?