<!--for to use google icons -->
<head>
<link rel="stylesheet" href="https://fonts.sandbox.google.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200" />
</head>
<div class="menu">
<div id="logo"><img src="https://www.instagram.com/static/images/web/mobile_nav_type_logo.png/735145cfe0a4.png"></div>
<div class="search-bar">
<input type="text" placeholder="Search"><span class="material-symbols-outlined">
search
</span>
</div>
<div class="menu-icons">
<a href=""><span class="material-symbols-outlined">
home
</span></a>
<a href=""><span class="material-symbols-outlined">
send
</span></a>
<a href=""><span class="material-symbols-outlined">
add_box
</span></a>
<a href=""><span class="material-symbols-outlined">
favorite
</span></a>
<a href=""><span class="material-symbols-outlined">
explore
</span></a>
<a href=""><span class="material-symbols-outlined">
account_circle
</span></a>
</div>
</div>
<div class="profile">
<div id="profile-pic">
<img src="https://cutewallpaper.org/22/meme-profile-picture-wallpapers/47455818.jpg">
</div>
<div id="profile-info">
<div class="profile-info-divs info1">
<h2>User_name</h2><button>edit profile</button>
<a href=""><span class="material-symbols-outlined">
settings
</span></a>
</div>
<div class="profile-info-divs">
<div>
<h3>21</h3>
<p>post</p>
</div>
<div>
<h3>320</h3>
<p>followers</p>
</div>
<div>
<h3>244</h3>
<p>follow</p>
</div>
</div>
<div class="profile-info-divs">
<p><i>"tomorrow never comes until it's too late"</i></p>
</div>
</div>
</div>
<div class="posts">
<div><img src="https://i.pinimg.com/236x/a0/e6/a3/a0e6a3fe0b41ab3b7d758a854d23b6d9.jpg"></div>
<div><img src="https://i.pinimg.com/236x/a0/e6/a3/a0e6a3fe0b41ab3b7d758a854d23b6d9.jpg"></div>
<div><img src="https://i.pinimg.com/236x/a0/e6/a3/a0e6a3fe0b41ab3b7d758a854d23b6d9.jpg"></div>
<div><img src="https://i.pinimg.com/236x/a0/e6/a3/a0e6a3fe0b41ab3b7d758a854d23b6d9.jpg"></div>
<div><img src="https://i.pinimg.com/236x/a0/e6/a3/a0e6a3fe0b41ab3b7d758a854d23b6d9.jpg"></div>
<div><img src="https://i.pinimg.com/236x/a0/e6/a3/a0e6a3fe0b41ab3b7d758a854d23b6d9.jpg"></div>
<div><img src="https://i.pinimg.com/236x/a0/e6/a3/a0e6a3fe0b41ab3b7d758a854d23b6d9.jpg"></div>
<div><img src="https://i.pinimg.com/236x/a0/e6/a3/a0e6a3fe0b41ab3b7d758a854d23b6d9.jpg"></div>
<div><img src="https://i.pinimg.com/236x/a0/e6/a3/a0e6a3fe0b41ab3b7d758a854d23b6d9.jpg"></div>
<div><img src="https://i.pinimg.com/236x/a0/e6/a3/a0e6a3fe0b41ab3b7d758a854d23b6d9.jpg"></div>
</div>
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background: snow;
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
}
.menu {
width: 100%;
height: 5rem;
background-color: white;
border-bottom: 1px solid #b3b3b3;
display: flex;
align-items: center;
justify-content: space-between;
}
#logo {
width: 30%;
display: flex;
justify-content: center;
}
.search-bar {
width: 30%;
display: flex;
justify-content: center;
}
.search-bar input {
border: none;
outline: none;
background-color: #e6e6e6;
height: 30px;
border-radius: 5px 0 0 5px;
padding-left: 1rem;
}
.search-bar > span {
background: #e6e6e6;
display: flex;
align-items: center;
border-radius: 0 5px 5px 0;
}
.menu-icons {
display: flex;
width: 30%;
justify-content: space-evenly;
margin-right: 1rem;
}
.menu-icons a {
color: black;
}
.profile {
width: 600px;
height: 200px;
margin-top: 2rem;
display: flex;
}
#profile-pic > img {
height: 200px;
width: 200px;
border: 1px solid #e6e6e6;
border-radius: 50%;
}
#profile-info {
display: flex;
flex-direction: column;
justify-content: space-evenly;
}
.profile-info-divs {
width: 400px;
display: flex;
justify-content: space-evenly;
align-items: center;
}
.profile-info-divs a {
color: black;
}
.profile-info-divs button {
padding: 0.5rem;
border-radius: 5px;
}
.profile-info-divs > div {
text-align: center;
}
.posts {
margin-top: 4rem;
border-top: 2px solid #e6e6e6;
width: 80%;
height: all;
display: grid;
justify-content: center;
grid-template-columns: 1fr 1fr 1fr;
gap: 0.5em;
padding: 0.5em;
}
.posts div img {
width: 100%;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.