I’m detailing a nifty little css technique here to have a large hero image while keeping the subjects in focus and at their original relative position.
The key here is the background-position
property using percentage values.
First, lets see the demo.
When you set background-position
with a percentage, the background image is positioned at that percentage of its parent with that percentage of the image itself centered at that point. You really have to see the demo to understand.
Let me know how this works for you!