Using focalpoint in teaser

This commit is contained in:
reverend 2021-03-06 18:54:19 +01:00
parent c40ce19b9e
commit df5846ec9c

View File

@ -1,7 +1,7 @@
<div class="RV-Teaser"> <div class="RV-Teaser">
<div class="RV-Teaser__Image"> <div class="RV-Teaser__Image">
<div class="RV-ContentCrop"> <div class="RV-ContentCrop">
<img class="RV-Image" src="{{ path '/images/landscape.jpeg' }}"/> <img class="RV-Image RV-FocalPoint" style="--focalX: 50%; --focalY: 16.66%" src="{{ path '/images/landscape.jpeg' }}"/>
</div> </div>
</div> </div>