Answers for "css background gradiant"

CSS
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

css linear gradient

#gradient {
  background-image: linear-gradient(180deg, black, red);
}
/* can be applied in many places, as your <body> background or a <div> etc */
Posted by: Guest on September-17-2020

Browse Popular Code Answers by Language