JSFiddle - React, Tailwind, and code Playground

HTML

<table>
<tr class="rating">
    <th>TEST</th>
    <td class="value">
        <input type="radio" name="ratings[1]" id="Degelijkheid_1" value="1" class="radio">
            <label class="full" for="Degelijkheid_1"></label>
        </input>
    </td>
    <td class="value">
        <input type="radio" name="ratings[1]" id="Degelijkheid_2" value="1" class="radio">
            <label class="full" for="Degelijkheid_2"></label>
        </input>
    </td>
        <td class="value">
        <input type="radio" name="ratings[1]" id="Degelijkheid_3" value="1" class="radio">
            <label class="full" for="Degelijkheid_3"></label>
        </input>
    </td>
        <td class="value">
        <input type="radio" name="ratings[1]" id="Degelijkheid_4" value="1" class="radio">
            <label class="full" for="Degelijkheid_4"></label>
        </input>
    </td>
</tr>
</table>

CSS

@import url(http:/netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css);

.rating input { display: none; } 
.rating label:before { 
  margin: 5px;
  font-size: 1.25em;
  font-family: FontAwesome;
  display: inline-block;
  content: "\f005";
}

.rating label { 
  color: #ddd; 
 float: right; 
}

/***** CSS to Highlight Stars on Hover *****/

.rating input:checked ~ label, /* show gold star when clicked */
.rating:not(:checked) > label:hover, /* hover current star */
.rating:not(:checked) > label:hover ~ label { color: #FFD700;  } /* hover previous stars in list */

.rating input:checked + label:hover, /* hover current star when changing rating */
.rating input:checked ~ label:hover,
.rating label:hover ~ input:checked ~ label, /* lighten current selection */
.rating input:checked ~ label:hover ~ label { color: #FFED85;  }