The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Problems with Multiple Backgrounds images in the same Div
hi everyone
This is my first attempt at using CSS3 to place multiple images in the same div.
the first image is loading correctly, i cannot however seem to get the second image to load.
please view my code here: http://codepen.io/anon/pen/gjoyh
is there something that i am doing wrong.
thank you for your help.
warm regards
Andreea
they’re both there, but the larger one is hiding the smaller. Just reverse their order in the CSS.
hello Wolfcry.
thanks a lot for yoru help. you were right. all i needed to do was take off the no-repeat and it worked. thanks so much for that.
i am still having a little bit of a problem with background images. i have asked a similar question here:
https://css-tricks.com/forums/discussion/23057/how-do-you-place-multiple-images-in-one-div-the-second-image-is-a-normal-colour