How to use background-image with gradient for a banner that doesn’t cover the whole screen in css? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

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 ответов
+ 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
Gordon - avatar
16th Nov 2019, 1:45 PM
Calviղ
Calviղ - avatar