The absolutely positioned img in CSS cannot be covered by the mask layer. Please solve it! ! _html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:14:36
Original
2227 people have browsed it

As in the title


Reply to the discussion (solution)

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

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template