0% found this document useful (0 votes)
9 views

Css Web

This CSS code defines styles for a menu button, hover state, dropdown container, hidden dropdown child and hover state to display the dropdown child.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
9 views

Css Web

This CSS code defines styles for a menu button, hover state, dropdown container, hidden dropdown child and hover state to display the dropdown child.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 1

.

mainmenubtn { background-color: skyblue; color: white; border: none;


cursor: pointer; padding:20px; margin-top:20px; } .mainmenubtn:hover
{ background-color: blue; } .dropdown { position: relative;
display: inline-block; } .dropdown-child { display: none; background-color:
skyblue; min-width: 200px; } .dropdown-child a { color: blue; padding:
20px; text-decoration: none; display: block; } .dropdown:hover .dropdown-
child { display: block; }

You might also like