css问题:background url 后的数字表示

background:url(../images/nav-bg.gif) 0px -32px no-repeat;
对应
background:url(路径) top(也就是距容器上边距的距离) left(也就是距容器左边距的距离) 重复方式;
也可以分开写成不同的属性:
background-url:'../images/nav-bg.gif';
background-position:0px -32px;
background-repeat:no-repeat;

猜你喜欢

转载自blog.csdn.net/qq_15016387/article/details/82586249