0

I just have an another problem. How to use transitions in display attribute.in html

Suppose i want to make a menu after clicking on it the content of menu will visible with transition.

14th Sep 2017, 8:52 PM
Ashish Kumar
1 Odpowiedź
+ 1
.menu{ display: hidden; transition: display 2s; } .menu:hover{ display: show; } menu will again disappear when you click outside the menu!
16th Sep 2017, 4:58 AM
Gaman Tyagi
Gaman Tyagi - avatar