Card

<div class="card">
    <div class="card__image-header">
        <img class="card__image" src="../../assets/bg-images/general/visual-workshop-12.webp" />
        <ul class="card__tags">
            <li class="card__tag">Startup</li>
            <li class="card__tag">Mobility</li>
        </ul>
    </div>
    <div class="card__body">
        <div class="card__subheadline">Design Sprint mit Movacar</div>
        <h2 class="card__headline">Von der Idee zum Prototyp in 4 Tagen </h2>
        <p class="card__text">
            Zusammen mit movacar hat INNOQ einen 4-tägigen Design Sprint durchgeführt, um wertvolles echtes
            Nutzerfeedback für den angedachten Business Case des Startups zu erhalten.
        </p>
    </div>
    <div class="card__footer">
        <div>
            <h3 class="upcase-heading">Unser Beitrag</h3>
            <ul class="checklist">
                <li>Design Sprint</li>
                <li>Backlog Boost</li>
            </ul>
        </div>
        <div>
            <h3 class="upcase-heading">Outcome</h3>
            <p class="standalone">
                Die Nutzerbefragungen am Ende des Design Sprints lieferten belastbaren Input für weitere
                Investorengespräche.
            </p>
        </div>
    </div>
</div>
<div class="card">
    <div class="card__image-header">
        <img class="card__image" src="{{ path '/assets/bg-images/general/visual-workshop-12.webp'}}" />
        <ul class="card__tags">
            <li class="card__tag">Startup</li>
            <li class="card__tag">Mobility</li>
        </ul>
    </div>
    <div class="card__body">
        <div class="card__subheadline">Design Sprint mit Movacar</div>
        <h2 class="card__headline">Von der Idee zum Prototyp in 4 Tagen </h2>
        <p class="card__text">
            Zusammen mit movacar hat INNOQ einen 4-tägigen Design Sprint durchgeführt, um wertvolles echtes
            Nutzerfeedback für den angedachten Business Case des Startups zu erhalten.
        </p>
    </div>
    <div class="card__footer">
        <div>
            <h3 class="upcase-heading">Unser Beitrag</h3>
            <ul class="checklist">
                <li>Design Sprint</li>
                <li>Backlog Boost</li>
            </ul>
        </div>
        <div>
            <h3 class="upcase-heading">Outcome</h3>
            <p class="standalone">
                Die Nutzerbefragungen am Ende des Design Sprints lieferten belastbaren Input für weitere
                Investorengespräche.
            </p>
        </div>
    </div>
</div>
/* No context defined. */
  • Content:
    .card {
      padding: $spacer-sm;
    }
    
    .card__image-header {
      position: relative;
    }
    
    .card__tags {
      @extend %list-unstyled;
    
      position: absolute;
      top: 0;
      left: 0;
      margin-top: $spacer-md;
    }
    
    .card__tag {
      @extend %teaser-caption;
    
      padding: $spacer-xxs;
      background-color: $card-tag-bg-color;
      color: $card-tag-text-color;
    
      + .card__tag {
        margin-top: $spacer-xs;
      }
    }
    
    .card__image {
      max-width: 100%;
      vertical-align: bottom;
    }
    
    .card__body {
      padding: $spacer-sm;
      background-color: $card-bg-color;
    
      .upcase-heading {
        color: $card-headline-color;
      }
    
      .standalone {
        color: $card-subheadline-color;
      }
    
      .checklist {
        color: $card-subheadline-color;
      }
    }
    
    .card__footer {
      display: flex;
      flex-flow: row nowrap;
      justify-content: space-between;
      padding: $spacer-sm;
      background-color: $card-headline-color;
    
      > * {
        flex-basis: 0;
        flex-grow: 1;
      }
    
      > * + * {
        margin-top: 0;
        margin-left: $spacer-md;
      }
    
      .upcase-heading {
        color: $card-bg-color;
      }
    
      .standalone {
        color: $card-bg-color;
      }
    
      .checklist {
        color: $card-subheadline-color;
    
        li::before {
          color: $card-bg-color;
        }
      }
    }
    
    .card__subheadline {
      @extend %teaser-caption;
    
      margin-bottom: $spacer-xxs;
      color: $card-subheadline-color;
      line-height: $paragraph-line-height;
    }
    
    .card__headline {
      @extend %h3;
    
      color: $card-headline-color;
    }
    
    .card__text {
      @extend %body-font-italic;
    
      margin-bottom: $spacer-xxs;
      color: $card-text-color;
      font-size: $font-size-sm;
    }
    
    @media screen and (min-width: $grid-breakpoint-md) {
      .card {
        padding: $spacer-base;
      }
    
      .card__body,
      .card__footer {
        margin: 0 $spacer-base;
        transform: translateY(-$spacer-xxl);
      }
    
      .card__image {
        vertical-align: baseline;
      }
    }
    
  • URL: /components/raw/card/_card.scss
  • Filesystem Path: components/04-molecules/visual-elements/card/_card.scss
  • Size: 1.8 KB

No notes defined.