CSS之Background-clip屬性

1.作用:CSS3中的Background-clip屬性,其主要是用來確定背景的裁剪區域,換句話說,就是如何控制元素背景顯示區域 2.語法:background-clip : border-box || padding-box || content-box 3.取值說明: 1.border-box:此值爲默認值,背景從border區域向外裁剪,也就是超出部分將被裁剪掉 2.padding-box:
相關文章
相關標籤/搜索