JSFiddle - React, Tailwind, and code Playground

by Abdul Ahmad

HTML

<script src="https://use.fontawesome.com/7bf72dcdd2.js"></script>
<section class='page-section'>
  <h1>
    Original Design
  </h1>
<!--   <svg class='pw-logo' x="0px" y="0px" viewBox="0 0 390 411">
    <path class='back' d="M168.486,170.537c4.106-7.818,8.694-15.202,13.659-22.184c-10.369-5.182-21.636-8.839-33.506-10.673
      c2.316-54.94,43.392-99.752,96.654-107.862c0,0,0.403-16.386-7.623-17.095C198.009,9.216,83.899,42.346,35.484,134.537
      c-15.029,26.948-24.085,60.194-24.085,92.726c0,54.908,25.788,102.038,62.579,122.316c16.733,9.665,36.131,14.961,57.143,14.961
      c15.098,0,29.507-2.937,42.698-8.259c-18.195-23.975-29.418-56.802-29.418-93.018C144.401,230.731,153.457,197.485,168.486,170.537z
      "/>
    <g>
      <path class='front' d="M378.295,65.818c0,0,0.404-16.386-7.623-17.095c-36.299-3.209-134.942,24.278-188.527,99.63
        c37.433,18.708,63.148,57.317,63.148,102.018c0,47.957-29.569,89.003-71.474,105.91c9.391,12.375,20.636,22.396,33.161,29.299
        c16.733,9.664,36.131,14.961,57.143,14.961c63.064,0,114.172-51.117,114.172-114.17c0-57.083-41.934-104.237-96.654-112.691
        C283.957,118.74,325.033,73.928,378.295,65.818z"/>
    </g>
    <g>
      <path class='venn' d="M245.293,250.371c0-44.701-25.716-83.311-63.148-102.018c-4.965,6.982-9.553,14.366-13.659,22.184
        c-15.029,26.948-24.085,60.194-24.085,92.727c0,36.216,11.223,69.043,29.418,93.018
        C215.725,339.374,245.293,298.328,245.293,250.371z"/>
    </g>
  </svg> -->
  <div class='info-card msi-card'>
    <div class='shadow'></div>
    <a>
      <header>
        <div class='content'>
          <label>
            My Health Issues
          </label><div class='vert-hack mid'></div>
        </div>
      </header>
      <article>
        <div class='content'>
          <label class='status no-icon not-started'>
            Not Started
          </label><div class='vert-hack mid'></div>
        </div>
      </article>
    </a>
  </div>

  <div class='info-card msi-card updated'>
    <div...

SCSS

body {
  font-family: sans-serif;
  color: #454C54;
}
.content {
  margin: 0 auto;
  height: 100%;
  width: 90%;
}
h1 {
  font-weight: 100;
  color: #30538d;
}
.pw-logo {
  
  position: absolute;
  top: 10px;
  right: 10px;
  width: 20px;
  opacity: 0.5;
  
  .back {
    fill: #2f89d7;
  }
  .front {
    fill: #97459a;
  }
  .venn {
    fill: #1c2582;
  }
}
.page-section {
  padding: 100px 0;
  width: 90%;
  margin: 0 auto;
  border-bottom: 1px solid #ddd;
  text-align: center;
}
.vert-hack {
  display: inline-block;
  height: 100%;
  vertical-align: bottom;
  
  &.bot {
    vertical-align: bottom;
  }
  &.mid {
    vertical-align: middle;
  }
}
.shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  box-shadow: 0 1px 2px 0 black;
}
.info-card {
  background-color: white;
  display: inline-block;
  margin: 10px;
  position: relative;
  width: 200px;
  vertical-align: top;

}

.info-card.msi-card {
  height: 175px;
  border-top-right-radius: 5%;
  border-bottom-left-radius: 5%;
  
  &.updated {
    background-color: #30538d;
    
    a {
      header {
        color: white;

        .content {
          border-color: #57B1FF;
        }
      }
    }
  }
  
  .shadow {
    border-top-right-radius: 5%;
    border-bottom-left-radius: 5%;
  }
  a {
    
    display: block;
    width: 100%;
    height: 100%;
    
    header {
      height: 75%;
      margin: 0;
      text-align: center;
      font-size: 23px;
      line-height: 30px;
      font-weight: 100;

      .content {
        width: 85%;
        border-bottom: 1px solid #2f89d7;

        label {
          display: inline-block;
          vertical-align: middle;
        }
      }
    }

    article {
      height: 25%;
      margin: 0;
      text-align: center;


      .content {
        width: 85%;

        label {

          display: inline-block;
          vertical-align: middle;

          &.status {
            color: #6A7480;
            font-style: italic;
    ...