gradients w3

CSS
   #grad {
  background-image: linear-gradient(red, yellow);
}  
Source

Also in CSS: