div背景图片设置后,div的padding和背景图不同步
如下设置
background-position-x
即可
1 | .logo { |
更好的做法
1 | background-origin: content-box; |
如下设置
background-position-x
即可
1 | .logo { |
1 | background-origin: content-box; |
Update your browser to view this website correctly. Update my browser now