Hello, I am currently unable to get the background image to take up the full container. I have tried several suggestions from SO like: setting height to 100%, setting height to 100vh and increasing paddding-top. Nothing seems to change. I think it has to do with Scrimbas internal browser as I did the project in Scrimba. Attached is an image of the page where I added a red dotted border to show the missing space. An html image and CSS image to show my code and classes respectively.
#Need help with background image.
8 messages · Page 1 of 1 (latest)
can you fork your scrimba project, please
There seems to be some kind of margin collapse issue.
Change the height property may it effect or change background-size values in px or %.
I am more of a JS person so my CSS code might be a little rough around the edges but here you go @plucky sonnet
<<!DOCTYPE html> is it in your html too?
it adds < to the top of your page and because the body has the color: #fff; you don't see it and it looks like a margin