JSFiddle - React, Tailwind, and code Playground
HTML
<div class="ball-5">
</div>
CSS
body {
padding: 5%;
}
.ball-5
{
background: #fff;
float: left;
border-top: solid 10px #2C3E50;
border-right: solid 10px #2C3E50;
border-bottom: solid 10px #E74C3C;
border-left: solid 10px #2C3E50;
-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 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-5
{
width: 115px;
height: 70px;
margin-left: -20px;
margin-top: -20px;
border-top: solid 10px rgba(156, 206, 228, 1);
border-right: solid 10px rgba(122, 183, 142, 1);
border-bottom: solid 10px rgba(255, 177, 38, 1);
border-left: solid 10px rgba(241, 139, 41, 1);
}