GitHub 6956★

Have you seen CSS Scan?

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

Learn more →

CSS Scan logo

Initial avatar

HTML

<div class="initial-avatar">...</div>

CSS

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

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

/* Rounded border */
border-radius: 50%;
height: 3rem;
width: 3rem;
}
Demo
PN
Follow me on and to get more useful contents.