Answers for "how to use color 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
4

css gradient background

body
{
    width: 100%; 
    height: 100vh;
    color: #fff;
    background-image: linear-gradient(180deg, #581845, #900C3F, #C70039, #FF5733, #FFC300);
}

/* If scrollbars are appearing you can disable them by just typing*/

::-webkit-scrollbar
{
    display: none;
}
Posted by: Guest on September-18-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
1

how to insert gradient in css

body{
  background-image: linear-gradient(45.34deg, #EA52F8 5.66%, #0066FF 94.35%);
}
Posted by: Guest on December-03-2020

Code answers related to "how to use color gradient in css"

Browse Popular Code Answers by Language