body { background-color: pink; } .notification .badge { position: absolute; top: -8px; right: 5px; padding: 5px 9px; border-radius: 50%; background-color: red; color: white; font-size: 6pt; }