I have created a special class that includes a gradient background color:
.banner {
background: -moz-linear-gradient(center top , #75A319 0%, #9FCC1D 100%) repeat scroll 0 0 #9FCC1D;
}
Additionally, I have defined another class that adds a background image:
.alertBell {
background-image: url("../images/icons/bell.png");
background-position: 5px 50%;
background-repeat: no-repeat;
padding-left: 30px;
}
When both of these classes are applied to an element, it appears that one overrides the other.
<h2 class="banner alertBell"></h2>
Is there any way to combine a background color and a background image?