JSFiddle - React, Tailwind, and code Playground

by Abdul Ahmad

HTML

<div class='parent'>
  <div class='img'>
  
  </div>
  <h2>
    Primary Title
  </h2>
  <h3>
    Secondary Title
  </h3>
  <p>
    Lorem ipsum dolor sit amet, consectetur adipiscing elit
  </p>
</div>

SCSS

.parent {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 200px;
  font-family: Helvetica;
}

.img {
  width: 70px;
  height: 70px;
  border-radius: 100%;
  // border: 2px solid #ddd;
  background: linear-gradient(-25deg, #61C4BD, #014A9E);
}

h2 {
  color: #012F74;
  margin-bottom: 0;
  margin-top: 20px;
}

h3 {
  color: #aaa;
  font-size: 14px;
  margin-top: 3px;
  margin-bottom: 0;
}