Gradient liniowy CSS
#grad {
background-image: linear-gradient(to right, #f1b1b1 , #82e6e8);
}
Code_Breaker
#grad {
background-image: linear-gradient(to right, #f1b1b1 , #82e6e8);
}
.foo {
background-image: linear-gradient(red, blue);
}
background: linear-gradient(to left, #333, #333 50%, #eee 100%);
/*From bottom to top*/
background: rgb(166,166,166);
background: linear-gradient(0deg, rgba(166,166,166,1) 0%, rgba(255,255,255,1) 29%);
background: repeating-linear-gradient(to right top, rgb(0, 102, 255), rgb(0, 204, 255));
background-image: linear-gradient(to bottom, rgba(45,45,45,0) 92%, rgba(128,128,128,0.4));
//No need of extra divs