---【渐变的使用】:linear-gradient()
=默认从上往下渐变 div{ background-image:linear-gradient(red,yellow,green}
=控制向右方向 div{ background-image:linear-gradient(to right, red,yellow,green} //
=可以使用度数来控制方向 div{ background-image:linear-gradient( 45deg, red,yellow,green}
=红颜色有百分之10的纯色,之后开始渐变 linear-gradient( 45deg, red 10%,yellow,green}