As in the title
It may be because the z-index of the img is greater than the mask layer's
Post the code,
There are several reasons: 1. It may be that the outer frame of absolute positioning is not set, causing the absolutely positioned element to move outside the browser;
2. The mask layer is floating, but the absolute positioning layer is not set. z-index;
3. On the same floor, the hierarchical relationship of the mask layer may exceed the absolutely positioned img.
Thanks stongyann, the problem lies in the second point mentioned