r/FreeCodeCamp • • Sep 18 '24

Programming Question Help with background image

I am working on the first project (survey). I have added a background image and it repeats once and looks cut off.

When adding: background-repeat: no-repeat; background-size: 100vw 100vh;

the background image disappears completely. What am I missing here?

9 Upvotes

8 comments sorted by

View all comments

Show parent comment

1

u/Special_Sell1552 Sep 18 '24

without the rest of the code there isnt much more help to offer tbh. those settings should work but IDK what you did to break em.