I made a little menu with a few button. I've added a shadow to the menu buttons. It works perfectly. I would like to make some "depth" in the menu, so they really become "buttons". This works well if you play around with shadows. Without any actions, the shadow should be at the left top corner.
#menu ul li {
-moz-box-shadow: -3px -3px -3px #888;
-webkit-box-shadow: -3px -3px -3px #888;
box-shadow: -3px -3px -3px #888;
}
But once I hover over it, this shadow doesn't want to go away, even when I do
#menu ul li:hover {
border-radius: 5px;
-moz-box-shadow: none;
-webkit-box-shadow: none;
box-shadow: none;
}
Why doesn't it want to go away?