#dingwei{ visibility:hidden; z-index:10000; display:block; position:absolute; /**绝对定位**/ bottom:10%;/**距顶部**/ left:50%;/**距左边**/ margin:-100px 0 0 -200px; /**居中调整**/ width:400px; /**DIV宽度**/ height:300px;/**DIV高度**/ } .pig{ position:absolute; top:90%; left:50%; margin:-130px 0 0 -200px; } img{ max-width:90%;height:30%; }

长按识别二维码