I have a team section on my site where I want clicking on the team member’s name to reveal their bio. I want this effect to fade in rather than just appear.
My solution seems to work, but only the first time - i.e. the first time that team member is clicked.
Here’s how I set it up.
00:00 - set initial state hidden
AND
00:00 - set initial opacity 0%
THEN
00:00 - hide other team members x4
THEN
00:00 - set hide/show to shown
AND
00:00 - set opacity 100% (0.5s duration)
It would be more helpful to check the implementation on your project.
Anyway, I tested myself and adding opacity: 0% should make it work. Because technically after the block appears it remains on opacity: 100%, so you’ve to set if back to opacity: 0 to have that fade effect.
Add opacity: 0 with your third step 00:00 - hide other team members x4