JSFiddle - React, Tailwind, and code Playground
by poonia
HTML
<div class="refresh"/>
CSS
.refresh {
position: absolute;
top: 10px;
left: 10px;
min-width: 24px;
min-height: 24px;
}
.refresh:before {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 16px;
height: 16px;
margin-top: -10px;
margin-left: -10px;
border-radius: 50%;
border: 2px solid #ff8c00;
border-top: 2px solid transparent;
-webkit-transform: rotate(45deg);
}
.refresh:after {
content: '';
position: absolute;
top: 6px;
left: 10px;
border: 8px solid transparent;
border-width: 5px 8px;
border-left-color: #ff8c00;
margin-top: -8px;
background: transparent;
}