Answers for "how to make a background gradient in css"

CSS
8

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%);
}
Posted by: Guest on December-03-2020
1

how to put background gradient css

.element {
  background: linear-gradient(
  #FF0000 /*Colour 1*/
  #00FFFF /*Colour 2*/
  );
}

/*Linear Gradient (Popular)*/
  
  
.element {
  background: radial-gradient(
  #FF0000 /*Colour 1*/
  #00FFFF /*Colour 2*/
  );
}

/*Radial Gradient*/
Posted by: Guest on August-04-2021
8

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%);
Posted by: Guest on October-24-2020
0

css gradient

#grad {
  background-image: linear-gradient(to bottom right, red, yellow);
}
Posted by: Guest on June-23-2021

Code answers related to "how to make a background gradient in css"

Browse Popular Code Answers by Language