简体   繁体   English

如何在不更改其内容位置的情况下弹出整个Div

[英]How To Popup whole Div without changing its content position

I want to popup the whole div that contain image,div,etc . 我想弹出包含image,div等的整个div。 but problem is that when i popup div the position of within div is changed. 但问题是,当我弹出div时,div中的位置已更改。 i want to zoom the div that display like popup and cover the whole page. 我想缩放显示像弹出窗口的div并覆盖整个页面。

when i click on div the div should be popup and zoom. 当我单击div时,div应该弹出并缩放。 not changed the position of content with in it. 没有改变内容的位置。

Use CSS and change z-index of the div so it's on a new layer. 使用CSS并更改div的z-index,使其位于新图层上。 Need sample to help you apply a solution. 需要样品以帮助您应用解决方案。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM