<!-- Importing Fontawesome Icons👇 -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css" integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A==" crossorigin="anonymous" referrerpolicy="no-referrer" />

<!-- Importing Poppins Font From Google Fonts👇 -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;700&display=swap" rel="stylesheet" />

<div class="profile-card">
  <img src="https://images.pexels.com/photos/17452265/pexels-photo-17452265.jpeg?auto=compress&cs=tinysrgb&w=600&lazy=load alt="" />
  <div class="profile-details">
    <h3>Karan Kumar Jha</h3>
    <p>founder of kumar computer solutions</p>
    <div class="social-media-list">
      <a href="#"><i class="fa-brands fa-facebook-f"></i></a>
      <a href="#"><i class="fa-brands fa-instagram"></i></a>
      <a href="#"><i class="fa-brands fa-linkedin-in"></i></a>
      <a href="#"><i class="fa-brands fa-twitter"></i></a>
    </div>
  </div>
</div>
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  height:100vh;
  display:grid;
  place-items:center;
  background-color:#010101;
  font-family:"Poppins", sans-serif;
}

.profile-card{
  width:250px;
  height:250px;
  border-radius:50%;
  background-color:#ededed;
  padding:25px;
  transition:all 0.3s;
}

.profile-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:50%;
  position:relative;
  z-index:10;
  transition: all 0.3s;
}

.profile-details{
  text-align:center;
  text-transform:capitalize;
  transform:translateY(-80%);
  opacity:0;
  transition:all 0.3s;
}

.profile-details h3{
  font-size:20px;
}

.profile-details p{
  font-size:14px;
  margin:5px 0 10px;
}

.profile-details a{
  color:#555;
  font-size:20px;
}

.profile-details a:not(:last-child){
  margin-right:10px;
}

.profile-card:hover{
  height:270px;
  border-radius:15px;
}

.profile-card:hover img{
  width:200px;
  height:200px;
  border-radius:15px;
  transform:translateY(-50%);
}

.profile-card:hover .profile-details{
  opacity:1;
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.