JSFiddle - React, Tailwind, and code Playground
HTML
<link rel="stylesheet" href="///ajax.googleapis.com/ajax/libs/jqueryui/1.8.18/themes/base/jquery-ui.css">
<li class="active">
<a href="index.html" title="Homepage">Homepage<i class="icon-home"></i></a>
</li>
CSS
.icon-white {
display: none;
}
JavaScript
$(document).ready(function() {
$('li.active').hover(
function() {
$('a', this).addClass('icon-white');
}, function() {
$('a', this).removeClass('icon-white');
});
});