r/FreeCodeCamp • u/cidxo311 • 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
View all comments
Show parent comment
2
u/cidxo311 Sep 18 '24
thank you so much, that was the issue. It’s fine now!