make image opaque css code example Example: reduce opacity of background image css .img1 { opacity: 0.6; z-index=1; }