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%;
background_position
ModifierConverts 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%;
Submit improvements, related content, or suggestions through Github.
Betterify this page →