I hope someone can help me. I would like to animate the dropdown in a Prosilver style when it is expanding and collapsing. Something like this animation:
I have added the code to the CSS, but the dropdown always appears without animation. I would appreciate any tips, as I can't seem to see the forest for the trees.
Code:
.dropdown-contents { max-height: 0; overflow: hidden; opacity: 0; transform: scaleY(0); transform-origin: top; transition: all 0.4s ease; }.dropdown-contents.show { max-height: 400px; opacity: 1; transform: scaleY(1);}Statistics: Posted by Octopus — Tue Apr 29, 2025 12:15 am