JSFiddle - React, Tailwind, and code Playground
HTML
<ul id="rounded-cats" class="cleardiv">
<li>
<a href="#"><span><img src="http://placehold.it/70" height="70" /></span>Category name</a>
</li>
<li>
<a href="#"><span><img src="http://placehold.it/70" height="70" /></span>Category name</a>
</li>
<li>
<a href="#"><span><img src="http://placehold.it/70" height="70" /></span>Category name</a>
</li>
<li>
<a href="#"><span><img src="http://placehold.it/70" height="70" /></span>Category name</a>
</li>
<li>
<a href="#"><span><img src="http://placehold.it/70" height="70" /></span>Category name</a>
</li>
<li>
<a href="#"><span><img src="http://placehold.it/70" height="70" /></span>Category name</a>
</li>
<li>
<a href="#"><span><img src="http://placehold.it/70" height="70" /></span>Category name</a>
</li>
</ul>
CSS
* {
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
}
body {
margin:0;
}
#rounded-cats {
text-align: center;
border: 1px solid red;
width: 100%;
margin: 0;
padding: 0;
display: inline-block;
}
#rounded-cats li {
display: inline-block;
margin: 20px;
}
#rounded-cats span {
background: #c7c7c7;
width: 112px;
height: 112px;
border-radius: 50%;
-webkit-border-radius: 50%;
-moz-border-radius: 50%;
text-align: center;
display: block;
-webkit-transition: all 0.3s ease-in-out;
-moz-transition: all 0.3s ease-in-out;
-o-transition: all 0.3s ease-in-out;
-ms-transition: all 0.3s ease-in-out;
transition: all 0.3s ease-in-out;
}
#rounded-cats span:before {
height: 100%;
content:" ";
vertical-align: middle;
display: inline-block;
}
#rounded-cats span img {
vertical-align: middle;
}
#rounded-cats a {
text-decoration: none;
}
#rounded-cats a:hover span {
background: #7c6eb0
}
#rounded-cats a:hover {
color: #7c6eb0
}