css button gradient code example
Example 1: css horizontal linear gradient
background: linear-gradient(to left, red, blue);
Example 2: how to change button gradient
.Button:hover { /*this example is used for a hover state*/
background: linear-gradient( 90deg,Color1,Color2 ) ;
}
/*input the degree with "deg" of the gradient,
then first and second colors*/
Example 3: css horizontal gradient background color
.foo {
background-image: linear-gradient(red, blue);
}