Home > Back-end >  How to get background color
How to get background color

Time:03-10

I saw this template online and I wanted to recreate it to learn on my coding skill but I can’t figure how to get background, I’ve tried gradient and backdrop filter, didn’t work out.

Template

CodePudding user response:

Try this

.your_class {

  background: linear-gradient(to left top, black, gray);

}

CodePudding user response:

try using this css code, just plop it in.

body {
background-image: radial-gradient(black, grey);
background-attachment: fixed;
height: 100%;
}
  • Related