How to use background-image with gradient for a banner that doesn’t cover the whole screen in css?

I’m having a bad time with it ?

16th Nov 2019, 5:22 AM
Adao Abdala
Adao Abdala - avatar
2 Answers
+ 5
add a class name to div and set the gradient background on that div instead of body
16th Nov 2019, 6:09 AM
Gordon - avatar
16th Nov 2019, 1:45 PM
Calviղ - avatar