background-clip及backgound-origin效果比较
背景图片默认是从padding区域的左上角开始显示的
背景色默认是从border区域的左上角开始显示的
一. background-clip:控制背景的显示区域(包括背景图片和背景色)
(1) background-clip:border-box;
(2) background-clip:padding-box;
(3) background-clip:content-
原创
2014-03-18 20:16:20 ·
684 阅读 ·
0 评论