JSFiddle - React, Tailwind, and code Playground

by Sam Carleton

HTML

<TABLE border="0" cellSpacing="0" cellPadding="0" width="100%">
      <TBODY>
      <TR>
        <TD vAlign="top" width="451px" align="left">
          <DIV class="navBar">
          <DIV class="navBarRow">
              <DIV style="width: 50%;" class="navBarCell select"><A href="">child 1.1</A></DIV><DIV style="width: 50%;" class="navBarCell"><A href="">child 1.2</A></DIV>
          </DIV>
          <DIV class="navBarRow">
            <DIV class="navBarCell select"><A href="">solo 2</A></DIV>
          </DIV>
          <DIV class="navBarRow">
            <DIV style="width: 33%" class="navBarCell"><A href="">Child 3.1</A></DIV><DIV style="width: 33%" class="navBarCell"><A href="">Child 3.2</A></DIV><DIV style="width: 33%" class="navBarCell"><A href="">Child 3.3</A></DIV>
          </DIV>
          <DIV class="navBarRow">
            <DIV class="navBarCell"><A href="">Child 4.1</A></DIV><DIV class="navBarCell"><A href="">Child 4.2</A></DIV><DIV class="navBarCell"><A href="">Child 4.3</A></DIV><DIV class="navBarCell"><A href="">Child 4.4</A></DIV>
          </DIV>
          <DIV class="navBarRow">
            <DIV style="width: 150px" class="navBarCell"><A href="">Child 5.1</A></DIV><DIV style="width: 150px" class="navBarCell"><A href="">Child 5.2</A></DIV><DIV style="width: 150px" class="navBarCell"><A href="">Child 5.3</A></DIV>
          </DIV>
          <DIV class="navBarRow">
            <DIV class="navBarCell"><A href="">Child 6.1</A></DIV>
            <DIV class="navBarCell"><A href="">Child 6.2</A></DIV>
            <DIV class="navBarCell"><A href="">Child 6.3</A></DIV>
          </DIV>
          <DIV class="navBarRow">
            <DIV class="navBarCell"><A href="">solo</A></DIV>
          </DIV>
          <DIV class="navBarRow">
            <DIV class="navBarCell"><A href="">solo</A></DIV>
          </DIV>
          <DIV class="navBarRow">
            <DIV class="navBarCell"><A href="">solo</A></DIV>
          </DIV>
          </DIV>
          </DIV>
    ...

CSS

div.navBar 
    {
    }

    div.navBar a:link a:visited a:active a:focus { color: Black; }

    div.navBar div.navBarRow
    {
        font-family:Arial, Helvetica, sans-serif;
        font-size:1.15em;
        font-weight:bold;
        background-color: #AFC5E3;
        border-bottom:1px solid #dbe2f2; 
        border-right: 0.063em solid #6699CC; 
}

div.navBar div.navBarRow *.navBarCell
{
        vertical-align: top;
        display: inline-block;
        padding-left: 0.625em;
        border-left: 0.75em solid #6699CC;
        height: 44px;
        box-sizing: border-box;
    }

    div.navBar div.navBarRow *.navBarCell.select
    {
        background-color: #6699CC;
    }