Hello, all!
I want to create drop-down menu.
My code structure is in react and it is -
<MainNav/>
<MyDropDownMenu/> |<-- the component we want to customize|
<div><HomeSection/><ExploreSection/>{and etc}</div>
The target -
-
My bar is static positioned
-
The menu is on the fly. Its parent is the wrapper element(body>wrapper).
-
When the window is resized it should be under the profile image
-
When move the mouse out of specific area the menu should close. The area will be little bigger square than the menu.
Thanks for the answers!