Card

<div class="Card">

</div>
<div class="Card">

</div>
{
  "company": "Ascend Performance Materials",
  "url": "https://www.ascendmaterials.com",
  "placeholders": {
    "copy": "Cozy lummox gives smart squid who asks for job pen"
  }
}
  • Content:
    .Card {
      @apply overflow-hidden
        rounded-md;
    
      &__title {
       @apply text-base
        lg:text-lg;
      }
    
      .Card__copy {
        p {
          @apply md:leading-snug;
        }
      }
    
      &__action {
        @apply relative
          pr-16
          bg-arrow-right-circle
          bg-[center_right_1rem]
          bg-[length:45px_45px]
          bg-no-repeat;
    
          .Theme:not(.Theme--none) & {
            @apply bg-arrow-right-circle-white;
          }
      }
    
      &:not(:has(.Card__image, .Card__copy)) {
        .Card__title {
          @apply flex
            items-center;
        }
      }
    }
  • URL: /components/raw/card/card.scss
  • Filesystem Path: src/components/01-elements/card/card/card.scss
  • Size: 526 Bytes

No notes defined.