Why can’t I use background image and color together?

What I am trying to do is to show both background-color and background-image, so that half of my div will cover the right shadow background image, and the other left part will cover the background color.

But when I use background-image, the color disappears.

10 Answers
10

Leave a Comment