需要引入样式
.black_overlay{ display: none; position: absolute; top: 0%; left: 0%; width: 100%; height: 100%; background-color: black; z-index:1001; -moz-opacity: 0.8; opacity:.80; filter: alpha(opacity=80); }
.white_content { display: none; position: absolute; top: 25%; left: 35%; width: 30%; height: 50%; padding-top: 20px;padding-left:40px; border: 1px solid orange; background-color: white; z-index:1002; overflow: auto; }
页面中的内容
点击这里弹出窗口
弹出窗口内容