how to add shadow layer on background img css code example Example: add shadow to background image css box-shadow: inset 0 0 5px 2px #282a2d; /* mark the inset */