1body{
2 /*Radial Gradient*/
3 background-image: radial-gradient(#EA52F8 5.66%, #0066FF 94.35%);
4 /*Linear Gradient*/
5 background-image: linear-gradient(45.34deg, #EA52F8 5.66%, #0066FF 94.35%);
6}
1.element {
2 background: linear-gradient(
3 #FF0000 /*Colour 1*/
4 #00FFFF /*Colour 2*/
5 );
6}
7
8/*Linear Gradient (Popular)*/
9
10
11.element {
12 background: radial-gradient(
13 #FF0000 /*Colour 1*/
14 #00FFFF /*Colour 2*/
15 );
16}
17
18/*Radial Gradient*/
1body{
2 background-image: linear-gradient(45.34deg, #EA52F8 5.66%, #0066FF 94.35%);
3}