目录
水平双条
body{
background: linear-gradient(#fb3 50%, #58a 50%);
}
不等宽条纹
body {
background: linear-gradient(#fb3 30%, #58a 30%);
background-size: 100% 30px;
}
/*或*/
body {
background: linear-gradient(#fb3 30%, #58a 0);
background-size: 100% 30px;
}
水平三条
body {
background:linear-gradient(#fb3 33.3%,#58a 0,#58a 66.6%,yellowgr