Home › Forums › CSS › background-image will not change opacity or color › Reply To: background-image will not change opacity or color
December 22, 2017 at 10:13 am
#264339
Paulie_D
Member
You have it mostly right (you can’t affect the opacity of a background-image
) only an element (or pseudo-element).
Unfortunately, changing the opacity also affects the stacking order (z-index) so you have to tell the background layer so be one level down (z-index:-1
)