Can I use linear-gradient for my image background? | Sololearn: Learn to code for FREE!

+1

Can I use linear-gradient for my image background?

Img {background: linear-gradient (yellow, red, green, etc,)};

3/30/2021 2:43:10 AM

Immaculate Prince

3 Answers

New Answer

+2

Sure, you can. https://code.sololearn.com/W4v54DQ4GQ1L/?ref=app

+2

You could create background image with linear-gradient overlay. https://code.sololearn.com/WtRmR3v4UdNj/?ref=app

0

Alright thanks everyone I appreciate you all