JSFiddle - React, Tailwind, and code Playground

HTML

<div class="ball"></div>
<div class="ball"></div>
<div class="ball"></div> 
<div class="ball"></div>
<div class="ball"></div>
<div class="ball"></div>
<div class="ball"></div>
<div class="ball"></div>
<div class="ball"></div>
<div class="ball"></div>
<div class="ball"></div>
<div class="ball"></div>

CSS

body
{
    padding:20px; 
}
.ball{
    width:50px;
    height:50px;    
    margin:5px;
    background:blue;
    float:left;
    border-top:solid 10px red;
    border-right:solid 10px #ccc;
    border-bottom:solid 10px red;
    border-left:solid 10px red;
    -moz-border-radius:500px;  
    border-radius:500px;      
    -moz-box-shadow:0px 0px 10px #222;       
    -webkit-box-shadow:0px 0px 10px #222;       
    box-shadow:0px 0px 10px #222;       
    padding:25px;
    cursor:pointer;
    -webkit-transform: rotate(-360deg) scale(1);  
    -moz-transform: rotate(360deg) scale(1);
    -o-transform: rotate(360deg) scale(1);
    -ms-transform: rotate(360deg) scale(1);    
    -webkit-transition: all 5s ease-in-out;   
    -moz-transition: all 5s ease-in-out;
    -o-transition: all 5s ease-in-out;
    -ms-transition: all 5s ease-in-out;    
}
.ball:hover{    
    border:solid 10px green;    
    border-right:solid 10px red;    
    background:violet;    
    -webkit-box-shadow:0px 0px 15px #111;       
    -webkit-transform: rotate(720deg) scale(1.2);      
    -moz-transform: rotate(720deg) scale(1.2);
    -o-transform: rotate(720deg) scale(1.2);
    -ms-transform: rotate(720deg) scale(1.2);
    -webkit-transition: all 0.5s ease-in-out;  
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;    
}
.ball:after
{
    content:'*';    
    font-size:90px;
    margin-top:-12px;
    margin-left:2px;
    float:left;
}