css inline gradient code example
Example 1: how to insert gradient in css
body{
/*Radial Gradient*/
background-image: radial-gradient(#EA52F8 5.66%, #0066FF 94.35%);
/*Linear Gradient*/
background-image: linear-gradient(45.34deg, #EA52F8 5.66%, #0066FF 94.35%);
}
Example 2: how to make a linear gradient in css
/* Add the class name insted of class */
.class {
background: linear-gradient(to top, #000000, #fffffff);
}