我要把它垂直和水平地放在中间:
html {
width: 100%;
height: 100%;
background: url(/icon.png) center center no-repeat;
}
这是可行的,但现在我正在尝试添加填充。我想有10 it或20 it填充在所有方面,所以移动它有一些填充。我试过这个:
html {
width: 100%;
height: 100%;
background: url(/icon.png) center center no-repeat;
background-origin: content-box;
pad