JSFiddle - React, Tailwind, and code Playground

by Josh Pullen

HTML

<meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
    <link
      rel="stylesheet"
      href="https://fonts.googleapis.com/css?family=Noto+Sans:400,700"
    />
    <div class="nav nav--blue">
      <div class="nav__inner"><a class="logo" href="/">
          <div>FILL</div></a>
        <div class="nav__links"><a class="nav__link" href="/results/">
            <svg class="icon" xmlns="http://www.w3.org/2000/svg" version="1.1" height="24" width="24" viewBox="0 0 6.3499999 6.3500002">
	<g transform="translate(0 -290.65)">
		<path
			style="color-rendering:auto;text-decoration-color:#000000;color:#000000;font-variant-numeric:normal;shape-rendering:auto;font-variant-ligatures:normal;text-decoration-line:none;font-variant-position:normal;mix-blend-mode:normal;solid-color:#000000;font-feature-settings:normal;shape-padding:0;font-variant-alternates:normal;text-indent:0;dominant-baseline:auto;font-variant-caps:normal;image-rendering:auto;white-space:normal;text-decoration-style:solid;text-orientation:mixed;isolation:auto;text-transform:none"
			d="m8.002 2.998a1.0001 1.0001 0 0 0 -1.004 1.004v4.998h-6.0019a1.0001 1.0001 0 0 0 -0.9961 0.9961v10.004a1.0001 1.0001 0 0 0 0.99609 1.004h11.008 10.998a1.0001 1.0001 0 0 0 0.996 -1.004v-6.002a1.0001 1.0001 0 0 0 -0.996 -0.996h-6.002v-9a1.0001 1.0001 0 0 0 -1.004 -1.004h-7.994zm0.996 2.002h6.002v8.998 5.004h-2.996-3.006v-9.0059-4.9961zm-6.998 6h4.998v8.002h-4.998v-8.002zm15 4.002h4.998v4h-4.998v-4z"
			transform="matrix(.26458 0 0 .26458 0 290.65)"
		/>
	</g>
</svg><span>Results</span></a><a class="nav__link" href="/settings/">
            <svg class="icon" width="24" height="24" version="1.1" viewBox="0 0 6.35 6.35" xmlns="http://www.w3.org/2000/svg"><g transform="translate(0 -290.65)"><circle cx="3.175" cy="295.15" r=".26458"...

CSS

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block; }

body {
  line-height: 1; }

ol, ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

blockquote:before, blockquote:after {
  content: '';
  content: none; }

q:before, q:after {
  content: '';
  content: none; }

table {
  border-collapse: collapse;
  border-spacing: 0; }

.alert {
  border: 1px solid #ba2b2b;
  background: #d63636;
  color: #fff;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  border-radius: 3px;
  padding: 12px 18px;
  margin: 6px 0; }
  .alert-success {
    border-color: #52a721;
    background: #62be2c; }

.box, .priceGrid__box {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  margin-bottom: 16px;
  position: relative; }
  .box__icon {
    display: block;
    margin: 0 auto;
    width: 96px;
    height: 96px;
    background: #fff;
    border-radius: 999px;
    margin-top: -36px;
    margin-bottom: -16px;
    position: relative; }
    .box__icon svg {
      box-sizing: border-box;
      width: 64px;
      height: 64px;
      padding: 16px;
      fill: #5fba2b;
      stroke: #5fba2b;
      background: #d2f1c0;
      border-radius: 999px;
      overflow: visible;
      position: absolute;
      top: 50%;
      left: 50%;
      transform:...