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

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

$
0
0
You might wanna try and use this instead https://developer.mozilla.org/en-US/doc ... n-behavior We can now transition the display property sort of :)

This code work here on this board

Code:

.dropdown {opacity: 0;transform: scaleY(0);transform-origin: top;transition-property: opacity, transform, overlay, display;transition-duration: 0.7s;transition-behavior: allow-discrete;}.dropdown-trigger + .dropdown {opacity: 1;transform: scaleY(1);}@starting-style {  .dropdown-trigger + .dropdown {    opacity: 0;    transform: scaleY(0);  }}

Statistics: Posted by Mannix_ — Tue Apr 29, 2025 9:42 am



Viewing all articles
Browse latest Browse all 2923

Trending Articles