How to realize the pop-up layer to cover the bottom layer in css
This article mainly explains "how to achieve pop-up layer to cover the bottom layer in css". The content in the article is simple and clear, and it is easy to learn and understand. Please follow the editor's train of thought to study and learn "how to achieve pop-up layer to cover the bottom layer in css".
The code is as follows:
# mcover {position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba (0,0,0,0.7); display: none; z-index: 20000;} # mcover img {position: fixed; right: 18px; top: 5px; width: 260pximportant; height: 180pximportant; z-index: 20001;}
Thank you for your reading, the above is the content of "how to achieve pop-up layer to cover the bottom layer in css". After the study of this article, I believe you have a deeper understanding of how to achieve pop-up layer coverage in css, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!