.badge { /* Center the content */ align-items: center; display: flex; justify-content: center; /* Colors */ background-color: rgba(0, 0, 0, 0.3); color: #fff; /* Rounded border */ border-radius: 9999px; height: 3rem; width: 3rem; }