Can a div have one background image but echo another?

I am creating a project that uses some gradients and of course this is causing problems. I want my vertical gradient background image to be the main background, but then if the content expands and pops out the div, I want the other slit image to repeat at the bottom. Can you do something like this?

0


a source to share


1 answer


The closest you can get is a background color with a background image. Then set the image to non-repeating. Then the color will be the background for the parts of the div where there is no inverse image.



0


a source







All Articles