<div class="u-padding-all-xxl u-background-grey-15 u-sizeFull">

    <div class="Timeline u-layout-prose u-layoutCenter">
        <div class="Timeline-point">
            <div class="Timeline-point-content u-background-95 u-color-white">
                <div class="u-textWeight-700">a</div>
            </div>
        </div>
        <div class="Timeline-content u-color-black">
            <div class="Timeline-arrow Icon-drop-down u-color-white"></div>
            <div class="u-borderShadow-xs u-padding-r-all u-background-white u-borderRadius-xs">
                <h2 class="u-text-r-xs u-padding-r-bottom">labore facere aut</h2>
                <p class="u-text-p u-textSecondary">
                    Voluptate blanditiis omnis. Et doloremque et. Debitis suscipit voluptatem est aut consequatur suscipit eos. Nisi sit voluptas quod. Vitae eligendi quasi culpa ut omnis pariatur nihil autem. Ipsam non eum sit omnis ut rerum.
                </p>
            </div>
        </div>
    </div>

    <div class="Timeline u-layout-prose u-layoutCenter">
        <div class="Timeline-point">
            <div class="Timeline-point-content u-background-95 u-color-white">
                <div class="u-textWeight-700">dolores</div>
            </div>
        </div>
        <div class="Timeline-content u-color-black">
            <div class="Timeline-arrow Icon-drop-down u-color-white"></div>
            <div class="u-borderShadow-xs u-padding-r-all u-background-white u-borderRadius-xs">
                <h2 class="u-text-r-xs u-padding-r-bottom">porro vel rem</h2>
                <p class="u-text-p u-textSecondary">
                    Sed rerum asperiores magni et facilis illo recusandae quia similique. Eos non at. Est sit voluptates. Esse corrupti cupiditate possimus hic quasi consequatur et.
                </p>
            </div>
        </div>
    </div>

    <div class="Timeline u-layout-prose u-layoutCenter">
        <div class="Timeline-point">
            <div class="Timeline-point-content u-background-95 u-color-white">
                <div class="u-textWeight-700">vel</div>
            </div>
        </div>
        <div class="Timeline-content u-color-black">
            <div class="Timeline-arrow Icon-drop-down u-color-white"></div>
            <div class="u-borderShadow-xs u-padding-r-all u-background-white u-borderRadius-xs">
                <h2 class="u-text-r-xs u-padding-r-bottom">culpa nam consequatur</h2>
                <p class="u-text-p u-textSecondary">
                    Ipsam ad et voluptates quaerat. Veritatis sed voluptatem sit tempore recusandae accusantium et vero. At laborum eveniet quaerat expedita nihil doloremque assumenda aperiam alias.
                </p>
            </div>
        </div>
    </div>

</div>
  • Content:
    /* @define Timeline */
    
    :root {
      --Timeline-padding: 3rem;
      --Timeline-arrow-size: 1rem;
      --Timeline-point-size: 10rem;
    }
    
    .Timeline {
      @extend .u-flex;
      @extend .u-flexAlignItemsCenter;
      @extend .u-color-grey-30;
      @extend .u-border-left-xs;
    
      margin-left: var(--Timeline-padding);
      margin-right: -var(--Timeline-padding);
    }
    
    .Timeline-point {
      @extend .u-padding-r-top;
      @extend .u-padding-r-bottom;
    
      margin-right: -var(--Timeline-padding);
    }
    
    .Timeline-point-content {
      @extend .u-flex;
      @extend .u-flexAlignItemsCenter;
      @extend .u-flexJustifyCenter;
      @extend .u-borderRadius-circle;
      @extend .u-borderShadow-m;
      @extend .u-border-all-xs;
      @extend .u-padding-r-all;
    
      height: var(--Timeline-point-size);
      transform: translateX(-50%);
      width: var(--Timeline-point-size);
    }
    
    .Timeline-content {
      @extend .u-padding-r-all;
      @extend .u-posRelative;
    }
    
    .Timeline-arrow {
      display: block;
      font-size: calc(var(--Timeline-arrow-size) * 2);
      height: calc(var(--Timeline-arrow-size) * 3);
      left: 0;
      margin-left: -var(--Timeline-arrow-size);
      position: absolute;
      text-shadow: 0 -4px 4px #e5e5e5;
      top: 50%;
      transform: rotate(-90deg) translateY(50%) translateX(50%);
      width: calc(var(--Timeline-arrow-size) * 3);
    }
    
  • URL: /components/raw/timeline/index.css
  • Filesystem Path: src/components/timeline/index.css
  • Size: 1.2 KB

There are no notes for this item.