How to write a code that can show a hidden menu bar when mouse come over on it ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to write a code that can show a hidden menu bar when mouse come over on it ?

31st Aug 2018, 7:28 PM
Mohsen Khoshsirat
Mohsen Khoshsirat - avatar
2 Answers
+ 8
You can use events like onmouseenter and onmouseleave and then use js to toggle css visibility or make a transition.
31st Aug 2018, 8:13 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 5
Reference this: https://code.sololearn.com/W7v5Pmo7E183/?ref=app When an element is on hover, it makes the list height increase.
31st Aug 2018, 10:23 PM
Rowsej
Rowsej - avatar