_badge.css
406 Bytes
.badge {
min-width: 16px;
padding: 3px 7px;
margin-left: 10px;
margin-right: 10px;
border-radius: 9999px;
font-size: 14px;
line-height: 1;
text-align: center;
white-space: nowrap;
background-color: $blue;
color: $white;
}
/* position */
.badge-tr {
position: absolute;
top: -5px;
left: 100%;
transform: translate3d(-60%, 0, 0);
margin: 0;
}