Adapting ContentShape to Mixinname based generator
This commit is contained in:
@@ -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()
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user