JSFiddle - React, Tailwind, and code Playground

by David Kyle

HTML

<div class="container">
  <div class="liner">
    <div class="category-row">
      <div class="category-group">
        <div class="category-header">
          <h2>
            Blocks: True Mass &amp; Composition
          </h2>
        </div>
        <div class="connector">

        </div>
        <div class="category-range">
          <input type="text" maxlength="10" />
        </div>
      </div>
    </div>
    <div class="category-row">
      <div class="category-group">
        <div class="category-header">
          <h2>
            Full Sequ. Grades
          </h2>
        </div>
        <div class="connector">

        </div>
        <div class="category-range">
          <input type="text" maxlength="10" />
        </div>
      </div>
    </div>
  </div>
</div>

CSS

:root {
  --categoryWidth: 80px;
}

* {
  font-family: Verdana, Arial, sans-serif;
}

body {
  color: #121212;
  background-color: #efefef;
}

.category-group {
  display: inline-table;
  width: 100%;
}

.container {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.liner {
  width: 100%;
  height: 100%;
  margin: 0.1rem;
  padding: 0.1rem;
}

.white {
  background-color: #efefef;
}

.category-row {
  display: inline-flex;
  width: 100%;
  margin-top: 1rem;
}

h2 {
  margin: 0px;
  padding: 0px;
  text-align: center;
  font-weight: normal;
}

.category-header {
  display: block;
  box-shadow: 4px 0 10px -2px rgba(0, 0, 0, 0.5);
}

.category-range {
  display: block;
  position: relative;
  margin: 0px auto;
  text-align: center;
  margin-top: 10px;
}

.category-range > input[type='text'] {
  background-color: rgba(0, 0, 0, .03);
  border-width: 0px;
  box-shadow: 0px 4px 8px 0 rgba(0, 0, 0, 0.25);
  text-align: center;
  font-size: large;
  padding: 0.2rem;
  color: #787878;
}

.connector {
  display: block;
  text-align: center;
  position: relative;
  height: 30px;
}

.connector:before {
  content: "| v";
  padding-top: 10px;
  line-height: 9px;
  width: 1px;
  margin: 0px auto;
  white-space: pre-line;
  height: 100%;
  display: inline-flex;
  flex-direction: row;
  font-size: xx-large;
}