- Objective: - Breadcrumb: # 概念阐释 - background选择器的**线性渐变背景** - function: linear-gradient() - 值:顺时针度数,180°为默认的从上到下,45°、90°、0°、-45°、-90° - 值:多种颜色 ## 语法 ```css background: linear-gradient() ``` # 实例 <iframe src="https://codepen.io/harryzhu313/pen/qBypBNZ" width="720" height="400"></iframe> # 相关内容 - 其它背景的值 ```css .banner { background-image: url() ; background-repeat: norepeat, x-repeat,y-repeat; background-position: 左上,左中,左下...; background: color; } ``` # 参考资料