Can anyone help me figure out how to adjust my CSS so that when my device screen is small, a specific section of the background image is displayed instead of just the center?
Here is how my background image is currently set:
background-image: url(*.jpg);
background-position: center;
-webkit-background-size: cover;
-moz-background-size: cover;
background-size: cover;
-o-background-size: cover;
Currently, when I reduce the size of the screen, it only shows the center of the image. I would like to display an area that is about one third from the left side of the image instead.
Is there a way to achieve this using only CSS?
Thank you! :)