JSFiddle - React, Tailwind, and code Playground

by Vanessa RC

HTML

<h1>H1 Other Immunisations</h1>

<div class='th'>Th Antigen - th titles</div>

<div class='body-text'> Body text - any body text which is not inside a field form</div>

<input type="text" class="TrackingHighlight inputDate hasDatepicker bgColSlected" id="immunisation_date_0" onchange="SaveImmunisationData(0);" value="06/11/2013">
    
<span class="addComment cursorPointer">+ Add comment - any add action </span>
    
  <hr> 
  
      <textarea class="TrackingHighlight" id="immunisation_comment_109" onchange="SaveImmunisationData(109); ">Here some text being edited or written </textarea>
      
       <textarea class="TrackingHighlight2" id="immunisation_comment_109" onchange="SaveImmunisationData(109); ">Here some saved text</textarea>

CSS

/* CSS suggestions for the design */

/* Changes here were : 
- font size 
- color
*/
h1{
    color: #555;
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 600;
    height: 23px;
    margin-bottom: 16.639999389648438px;
    text-align: left;
    width: 680px;
}
/* Changes here were : 
- font size 
- font weight 
- color
*/
.th{
    border-collapse: collapse;
    color: #555;
    display: table-cell;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding-bottom: 10px;
    padding-left: 0px;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
    width: 102px;
}

/* Changes here were : 
- font size 
- line height
- color 
*/
.body-text{
    color: #333;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    margin:0;
    padding-bottom: 15px;
    position: relative;
    text-align: left;
    line-height:1.5;
}

/* Changes here were : 
- font size 
- padding 
- border radius 
*/
.TrackingHighlight{
    padding: 5px;
    border: 1px solid #afb0b4;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    color: #333333;
    background-color: whitesmoke;
    font-size:12px;
}

/* Changes here were : 
- font size 
-* note that here we have three states, active, hover and clicked, and each of them have a different grey color. 
-*note 2 - this is not the right icon, the right icons name is  icon_plus_alt2
*/
.addComment{
    display:block;
    color: rgb(69, 69, 69);
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    text-align: left;
    margin:0;
    padding: 15px 0px;
}


/* Changes here were : 
- just gave style to it
*/
hr{
    background-color: #888;
    height: 1px;
    border:0px;
    -moz-box-shadow: 2px 2px 2px #ccc;
    -webkit-box-shadow: 2px 2px 2px #ccc;
    box-shadow: 2px 2px 2px #ccc;
}

/* Changes here were : 
- border color 
- border radius
- color
- padding 
- font size
- line...