Quantcast
Channel: phpBB.com
Viewing all articles
Browse latest Browse all 2273

[3.3.x] Styles Support & Discussion • Help needed with dropdown animation

$
0
0
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:

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);}
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.

Statistics: Posted by Octopus — Tue Apr 29, 2025 12:15 am



Viewing all articles
Browse latest Browse all 2273

Trending Articles