BEM Generator shorthand for block modifiers

This commit is contained in:
2021-03-10 02:58:14 +01:00
parent 05b23653c7
commit d6b4f0aff2
12 changed files with 33 additions and 20 deletions

View File

@@ -37,6 +37,6 @@ RV-Shape--circle()
bottom 0
right 0
+RV-Block('RV-Shape')
+RV-Block--shorthand('RV-Shape')
RV-Shape--square()
RV-Shape--circle()

View File

@@ -1,3 +1,3 @@
<div class="RV-Shape {{#if modifier}}{{modifier}}{{/if}}">
<div class="{{#if modifier}}{{modifier}}{{/if}}">
<img class="RV-FocalPoint" style="--focalX: 50%; --focalY: 75%" src="{{ path '/images/portrait_lowFocelPoint.jpeg'}}"/>
</div>