<!--
<head>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css">
</head>
-->
<div class="container">
<div class="icon">
<i class="fa-solid fa-house"></i>
</div>
<div class="icon">
<i class="fa-solid fa-user"></i>
</div>
<div class="icon">
<i class="fa-solid fa-image"></i>
</div>
</div>
.container {
display: flex;
flex-direction: row;
}
.icon {
display: flex;
width: 50px;
height: 50px;
background: #EAEAEA;
justify-content: center;
align-items: center;
border-radius: 10px;
margin-right: 8px;
}
This Pen doesn't use any external JavaScript resources.