Currently, I have a webpage that utilizes a background image set up like this:
body {
background-image : url("https://example.com/image.png");
background-size : cover;
background-repeat : no-repeat;
}
While this setup works well for screens with a 16:9 aspect ratio, on mobile phones with a 9:16 aspect ratio, the image only covers about half of the screen!
Is there a way to specify different images based on the aspect ratio of the screen?