C Flag

<div class="c-flag position position-absolute position-z-2">
    <img src="../../../img/flag.png" alt="flag-background" class="img img-auto">
    <p class="value text text-color-white m-0 text-center text-size-0-8 text-lh-100 position-absolute">Desde<span class="d-block text text-size-1-5 text-color-white text-family-primary text-w-bold">41,00€</span></p>
</div>
<div class="c-flag position position-absolute position-z-2">
    <img src="../../../img/flag.png" alt="flag-background" class="img img-auto">
    <p class="value text text-color-white m-0 text-center text-size-0-8 text-lh-100 position-absolute">Desde<span class="d-block text text-size-1-5 text-color-white text-family-primary text-w-bold">41,00€</span></p>
</div>
/* No context defined. */
  • Content:
    // flag component
    
    .c-flag {
        .img { width: 110px; }
        .value {
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
        }
        &-big {
            .img { width: 130px; }
        }
    }
  • URL: /components/raw/c-flag/c-flag.scss
  • Filesystem Path: src/components/comp/c-flag/c-flag.scss
  • Size: 204 Bytes

No notes defined.