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="/tests/">
            <div>FILL</div><span>Tests</span></a><a class="nav__link" href="/practice/asdf/">
            <div>FILL</div><span>Practice</span></a><a class="nav__link" href="/results/">
            <div>FILL</div><span>Results</span></a><a class="nav__link" href="/settings/">
            <div>FILL</div><span>Settings</span></a><a class="nav__link" href="/faq/">
            <div>FILL</div><span>FAQ</span></a>
        </div>
        <div class="nav__right"><a class="button button--style-outline" href="/login">Login</a> <a class="button button--color-green" href="/register">Register</a></div>
      </div>
    </div>
    <div id="videoPlayerDimmer"></div>
    <div class="hero">
      <div class="hero__content">
        <div class="hero__text">
          <!-- .hero__subtitle Online Math League-->
          <h1 class="hero__headline">
            Excite your students with thrilling competitions from the Online
            Math League!
          </h1>
          <div class="hero__cta">
            <a
              class="button button--size-massive button--color-green"
              href="/register/"
              >Register Now<span>Get free practice materials!</span></a
            >
          </div>
        </div>
        <div class="hero__video">
          <div class="video__viewportContainer">
            <div class="video__viewport">
              <div class="video__thumbnailOverlay">
                <div...

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:...