Horje
how to insert gradient in css Code Example
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%);
}
css linear gradient
#grad {
  background-image: linear-gradient(to right, #f1b1b1 , #82e6e8);

}
css horizontal gradient background color
.foo {
	background-image: linear-gradient(red, blue);
}
gradient css background
/*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%);
how to insert gradient in css
body{
  background-image: linear-gradient(45.34deg, #EA52F8 5.66%, #0066FF 94.35%);
}
linear gradient in CSS
The general syntax of linear-gradient is-
background: linear-gradient(gradient direction, color1 , color2 , color3, .....);

Forexample-
background: linear-gradient(46deg,green,blue,yellow,pink);

NOTE: (common mistake) we forget to write the semi-colon (;) 




Css

Related
css if child has class Code Example css if child has class Code Example
set margin to none inside print Code Example set margin to none inside print Code Example
How to use css on a react icon Code Example How to use css on a react icon Code Example
had to add a tint to a picture on css Code Example had to add a tint to a picture on css Code Example
flexbox Code Example flexbox Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
8