GitHub 6956★

Have you seen CSS Scan?

The fastest and easiest way to check, copy and edit CSS.

Learn more →

CSS Scan logo

Badge

HTML

<div class="badge">...</div>

CSS

.badge {
/* Center the content */
align-items: center;
display: flex;
justify-content: center;

/* Colors */
background-color: #d1d5db;
color: #fff;

/* Rounded border */
border-radius: 9999px;
height: 3rem;
width: 3rem;
}
Demo
9+
Follow me on and to get more useful contents.