#choiceWindow { display:none; position:absolute; top:25%; left:25%; width:30%; height:55%; padding:20px; border:3px solid #ccc; background-color:white; z-index:2; overflow:auto; } #backGround { display:none; position:absolute; top:0%; left:0%; width:100%; height:1100px; background-color:black; z-index:1; -moz-opacity:0.8; opacity:.80; filter:alpha(opacity=88); } #x:hover { cursor:pointer; color:rgb(55,198,192); }
这是一个简单的点击弹窗