适用于背景图片过大 想要占据网页半个页面或给整个body时 把图片最中心的部分展示出来
tp {
background-image: url;
background-repeat: no-repeat; //不重复
background-position: center top;
}
适用于背景图片过大 想要占据网页半个页面或给整个body时 把图片最中心的部分展示出来
tp {
background-image: url;
background-repeat: no-repeat; //不重复
background-position: center top;
}