Tell us what’s happening:
I am trying to enlarge this background photo but it keeps getting cut off. In my html code, I incorporated the background photo into the div tag with the id= “backtitle.” I placed the url and I am trying to adjust the height in its css code. Any help is appreciated! Thank you!
@bk200 Welcome to the FreeCodeCamp Forums! These projects can be tricky but it is all about pushing yourself and learning. I tweaked the codepen a little bit and found this as a solution. #backtitle { background-image: url(https://i.postimg.cc/rwhF8XNL/Christopher-Reeve.jpg); background-size: cover; bakcground-repeat: no-repeat; }
Although this does produce a stretched out image and doesn’t look the best. I would recommend what @nicolas Said and it would probably be best to get a bigger picture but that code could provide a fix. Happy Coding!