Can you explain please why my second background image doesn’t show up?
this is my CSS:
background-repeat: no-repeat, no-repeat;
background-size: cover, 20%;
background-position: center center ,left top;
It does appear, but it is behind the first one. At least this is what I saw when I pasted your code in codepen!
Try reversing the images (put the second first) and you’ll see they’ll appear.
But usually this is not what you should do. Create an inner tag (a div for example) and add the 2nd background image to it.
Thanks! If you don’t mind, can you show an example of what i should usually do?
background-position: center center;
background-position: left top;
And the HTML would look like:
<head> ... head stuff here </head>
Other things here...
This would be the boilerplate, but you can adjust it to fit your needs