JSFiddle - React, Tailwind, and code Playground

by J. Albert Bowden

HTML

<ul>
            <li><i class="collections"></i><a href="collections.html">My Collections</a></li><li><i class="everything"></i><a href="everything.html">Everything</a></li><li><i class="social"></i><a href="social.html">Social</a></li><li><i class="news"></i><a href="news.html">News</a></li><li><i class="shopping"></i><a href="shopping.html">Shopping</a></li><li><i class="financial"></i><a href="financial">Financial</a></li><li><i class="travel"></i><a href="travel">Travel</a></li><li><i class="entertainment"></i><a href="entertainment">Entertainment</a></li>        
        </ul>
    </nav>

CSS

i { display: block;  background-image: url('http://dev.bowdenweb.com/a/bootstrap/bootstrap/img/glyphicons-halflings.png'); background-repeat: no-repeat; background-position: top left; }

.entertainment:hover{ background-position: -32px 0; width: 16px; height: 11px; } 
.entertainment{ background-position: -58px 0; width: 16px; height: 11px; } 
a < .everything:hover{ background-position: -84px 0; width: 16px; height: 15px; } 
.everything{ background-position: -110px 0; width: 16px; height: 15px; } 
.collections:hover{ background-position: -136px 0; width: 16px; height: 16px; } 
.collections{ background-position: -162px 0; width: 16px; height: 16px; } 
.news:hover{ background-position: -188px 0; width: 16px; height: 16px; } 
.news{ background-position: -214px 0; width: 16px; height: 16px; } 
.shopping:hover{ background-position: -240px 0; width: 16px; height: 16px; } 
.shopping{ background-position: -266px 0; width: 16px; height: 16px; } 
.social:hover{ background-position: -313px 0; width: 16px; height: 16px; } 
.social{ background-position: -339px 0; width: 16px; height: 16px; } 
.travel:hover{ background-position: -365px 0; width: 16px; height: 16px; } 
.travel{ background-position: -391px 0; width: 16px; height: 16px; } 
.financial:hover{ background-position: -417px 0; width: 16px; height: 12px; } 
.financial{ background-position: -443px 0; width: 16px; height: 12px; }