CSS

CSS

CSS背景图片自适应全屏显示

<divclass="body"></div>*{margin:0;padding:0;}.body{margin:auto;padding:0;background:url("../images/anti-fake/bg.jpg")no-repeatcenter;width:100%;height:100%;background-size:100%100%;position:absolute;}