Is it possible to have the center of my background picture always be in the center of the screen, and have the sides be cropped off to compensate for resolution? I'm currently using background-image: cover to crops the sides without regard for the middle, but I want what's in the center of my picture to always be in the center of the page. Mostly I want to do this so that mobile looks good, but doing this would also help make it more device-compatible.
What it looks like on desktop
And what it looks like on mobile. (disregard the tint from CF Lumen)
I want the girl to be in the center of the screen on all devices.
Aucun commentaire:
Enregistrer un commentaire