<div class="plan__item">
    <h3 class="plan__title">
        Creative
    </h3>
    <p class="plan__text">
        Lorem ipsum dolor sit amet, consectetur adipiscing tempor incididunt ut labore et dolore magna aliqua.
    </p>

    <div class="spacer spacer--4"></div>

    <div class="plan__bottom">
        <span class="card__bottom__title">
            Lorem ipsum
        </span>
        <div class="plan__bottom__price">
            <h3 class="price-title">
                ¥29,800
            </h3>
            <small class="sub-text__info">Lorem ipsum</small>
        </div>
    </div>
</div>
{{!-- Rekord plan --}}
<div class="plan__item">
  <h3 class="plan__title">
      {{ title }}
  </h3>
  <p class="plan__text">
      {{ text }}
  </p>

  <div class="spacer spacer--4"></div>

  <div class="plan__bottom">
    <span class="card__bottom__title">
        {{ sub-title }}
    </span>
    <div class="plan__bottom__price">
      <h3 class="price-title">
        {{ price }}
      </h3>
      <small class="sub-text__info">{{ sub-text }}</small>
    </div>
  </div>
</div>
plan-label: Lorem ipsum
title: Creative
text: >-
  Lorem ipsum dolor sit amet, consectetur adipiscing tempor incididunt ut labore
  et dolore magna aliqua.
sub-title: Lorem ipsum
price: ¥29,800
sub-text: Lorem ipsum
  • Content:
    .plan {
      &__wrapper {
        display: grid;
        grid-template-columns: 1fr;
        gap: var(--gap--4);
    
        @media all and (min-width: 750px) {
          grid-template-columns: 1fr 1fr;
          margin-bottom: 0;
        }
    
        @media all and (min-width: 1024px) {
          grid-template-columns: 1fr 1fr 1fr;
          margin-bottom: 0;
        }
      }
    
      &__item {
        position: relative;
        border: 1px solid var(--color--neutrals-10);
        border-radius: var(--gap--2);
        padding: var(--gap--4);
      }
    
      &__label {
        position: absolute;
        top: -32px;
        font-size: 14px;
        color: var(--color--neutrals-1);
        background-color: var(--color--neutrals-10);
        border-radius: var(--gap--1) var(--gap--1) 0 0;
        padding: var(--gap) var(--gap--4);
      }
    
      &__bottom {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
    
        &__price {
          display: flex;
          flex-direction: column;
          align-items: flex-end;
    
          h3 {
            font-weight: 600 !important;
            color: var(--color--action) !important;
          }
        }
      }
    }
    
  • URL: /components/raw/rekord-plan/rekord-plan.scss
  • Filesystem Path: ../src/03_molecules/rekord-plan/rekord-plan.scss
  • Size: 1 KB

No notes defined.