CSS.6圖像
圖像
背景圖像
background-image
允許你在任何HTML元素之後放置圖像
重復圖像
background-repeat
background-attachment
background-repeat屬性可選用以下四個值中的一個:
repeat
背景圖像在水平方向和垂直方向進行重復
repeat-x
背景圖像只在水平方向進行重復
repeat-y
背景圖像只在垂直方向進行重復
no-repeat
背景圖像只顯示一次
background-attachment屬性可選用以下兩個值中的一個:
fixed
背景圖像固定在頁面中的一個位置
scroll
背景圖像圖像隨用戶上下滾動頁面而上下 滾動
背景圖像定位
backgroud-position:指定背景圖像在瀏覽器窗口的位置
left top
left center
left bottom
center top
center center
center bottom
right top
right center
right bottom
簡寫
background
漸變
background-image
CSS.6圖像