Adapting ContentShape to Mixinname based generator

This commit is contained in:
2021-03-19 13:50:26 +01:00
parent 8c8eb4c097
commit 3afa94abd3
6 changed files with 134 additions and 117 deletions

View File

@@ -33,23 +33,25 @@ RV-FocalPoint--rightHalf()
})
RV-FocalPoint(focalX=50%, focalY=50%)
RV-CSSParameter({
focalX: focalX,
focalY: focalY
})
height 100%
width 100%
display block
object-fit cover
object-position --focalX --focalY
+RV-Block()
RV-CSSParameter({
focalX: focalX,
focalY: focalY
})
height 100%
width 100%
display block
object-fit cover
object-position --focalX --focalY
RV-FocalPoint--upperHalf()
RV-FocalPoint--lowerHalf()
RV-FocalPoint--leftHalf()
RV-FocalPoint--rightHalf()
+RV-Block--shorthand('RV-FocalPoint')
RV-FocalPoint()
RV-FocalPoint()
RV-FocalPoint--upperHalf()
RV-FocalPoint--lowerHalf()
RV-FocalPoint--leftHalf()
RV-FocalPoint--rightHalf()