Modifier: background_position

Converts an asset focal point value (eg. 50-30) into a value suitable for the background-position css property.

focus: 50-30
background-position: {{ focus | background_position }};
background-position: 50% 30%;
Betterify this page on Github!