@mkboris
Posted
You can align the icon with name using flexbox like so
html
<div class="profile-icon">
<img src="images/image-avatar.webp" alt="Greg Hooper Profile Icon" style="width: 32px; height: 32px;">
<span class="profile-text">Greg Hooper</span>
</div>
css
.profile-icon{
display: flex;
align-items: center;
gap: 0.75rem;
}
Marked as helpful