how to reduce transparency of background image in css code example Example: reduce opacity of background image css .img1 { opacity: 0.6; z-index=1; }