0
I have a menu made exclusively with css and html. When clicking the button it opens the menu, but if I release the button it disappears, to keep the menu open I need to be holding the mouse button. I wanted opinions on how I can fix this, just click once and open the menu and continue open and if I move the mouse pointer to the navbar it disappears normally.
Details on codepen website: https://codepen.io/flashpremium/pen/zzYKBR
Thanks for the tip, but had already tried this way, only I intend to open the menu only after clicking the button.
– the flash
Do you want a menu like this? https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_dropdown_navbar_click
– Olavo Holanda
Yes, just like that.
– the flash
Can you use javascript? In the example I gave you you need javascript to activate the menu. Still need help to adapt your code to the example?
– Olavo Holanda
Thanks for the tip, I will use the example above to adapt in the menu.
– the flash