on hover show the submenu css code example
Example: sub menu disappears on hover css
/* Ensure you use padding instead of margin, the space in between will be filled in */
padding-bottom: 5px;
margin-bottom: 0;
/* Ensure you use padding instead of margin, the space in between will be filled in */
padding-bottom: 5px;
margin-bottom: 0;