Be careful with opacity.
background-color: rgba(255, 255, 255, 0.9); /* white semi-transparent */or:
background: rgba(0, 0, 0, 0.7); /* black semi-transparent */
How to put a "close / hide" button in the dropwon area?
I use "onclick" for the menu.
If your question is related to the topic of this post, you can post your question to this page by clicking the "Post a reply" button at left;
If your question is related to the Drop Down Menu, click:Ask new question: Drop Down Menu
Otherwise navigate to one of the following forum categories, and post your question there.##