好得很程序员自学网

<tfoot draggable='sEl'></tfoot>

css实现的弹出窗口始终垂直水平居中效果_html/css_WEB-ITnose

css实现的弹出窗口始终垂直水平居中效果:
本章节介绍一下如何实现一个弹出窗口实现垂直水平居中效果,无论是否拖动滚动条。
代码实例:

      蚂蚁部落  body{  height:1000px;}.antzoen{  position:fixed;  width:250px;  height:100px;  background:#ececec;  left:50%;  top:50%;  margin-left:-125px;  margin-top:-50px}   

查看更多关于css实现的弹出窗口始终垂直水平居中效果_html/css_WEB-ITnose的详细内容...

  阅读:36次