Attempting to set an image as a background and applying
background-size: cover
doesn't prevent scrolling. When viewing the page on different resolutions, the entire image is displayed instead of just the center portion (blue bordered area). Is there a way to set the image as the background without scrolling while keeping it centered?
Referencing the image below for a clearer understanding, the goal is to have the image fixed at any resolution with the blue bordered area remaining centered.