Use CSS to make background-image above background-color in a list
问题 This is the code <ul> <li class="test"> <a href="#"> <h2>Blah</h2> <p>Blah Blah Blah</p> </a> </li> </ul> Basically, my list already has some styling, for example, I set the background-color for it. Now in the class "test", I also set a background-image. My question is I want to make the background-image stays above the background-color and I dont know how to achieve this. I tried with z-index but I think it is not applicable for background-image. Please take a look at the image Edit: This is