Don't know how to position image

I’m creating a new website, just for practice. Had the idea of inserting an image like that, like occupying part of the whole page, no margin (like the XBOX website example). How do I do it? When I search it only shows how to make a background with a pic.

Here’s how I imagined if the example isn’t so clear:
Uploading: IMG_20220801_154650_180.webp…

display: block and width: 60% will fill the part of the container with image, margin: 0 auto will center it horizontly

hey, thanks for replying! it didn’t worked tho. do you think it’s an issue with the image I picked?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.