HTML 如何控制背景图片的位置

background-position 水平方向,垂直方向

取值:1具体的方位名词

水平方向 left right  center 垂直方向 top bottom center

取值2:具体的像素

猜你喜欢

转载自blog.csdn.net/L_one_J/article/details/84954018