I'm using CSS3 gradients for my menu button's background color/hover color and I'm having trouble getting one of my backgrounds (an icon) to appear above the gradient, on hovering. CSS:
#nav_menu a:hover {
background-image: url("../img/menu_icon.png") no-repeat 3%, 50%;
background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #aa2329), color-stop(100%, #bb4d50));
background-image: -webkit-linear-gradient(#aa2329, #bb4d50);
background-image: -moz-linear-gradient(#aa2329, #bb4d50);
background-image: -o-linear-gradient(#aa2329, #bb4d50);
background-image: linear-gradient(#aa2329, #bb4d50);
}
The top background-image is not visible upon hovering. I was able to get it working when not hovering by having a separate background image for the li and the icon as a background image for the link nested in the li. I can't do the same thing here as I have to use the link's hover pseudoclass for the gradient background image. Any suggestions would be much appreciated.