0
CSS div img background
How do you do a div background on css
2 Antworten
+ 2
By using either the "linear-gradient" or "radial-gradient" css functions within the background property of a selector.
Here's an example of a linear-gradient one:
https://code.sololearn.com/WstTl2L82gJB/?ref=app
For more detail check these links:
https://developer.mozilla.org/en-US/docs/Web/CSS/linear-gradient
https://developer.mozilla.org/en-US/docs/Web/CSS/radial-gradient
0
with a gradient body background