/* 超出部分滚动显示 /
/ 设置背景颜色 bakground背景 color颜色 /
/ background-color: 颜色的英语单词/rgba(红色数字,绿色数字,蓝色数字,透明色)/#f0f # #0
红色数字/绿色数字/蓝色数字/:0255;透明色01 /
background-color: 背景图片 url(图片地址)
background-repeat: 重复显示,repeat/repeat/repeat-x/repeat-y
fixed背景固定 scorll背景滚动(默认值)
/ background-position: 方位词(top/bottom/left/center),100%50%,100px,200px; /
/ background-size: 图片大小 数值大小、百分比*/
/* background: 复合写法 */
HTML+CSS 3.29 背景
最新推荐文章于 2024-01-06 13:30:44 发布