<div class="card-container">
  <div class="card">
    <div class="profile-img">
      <img src="https://i.postimg.cc/Vsg0MVmJ/1.png" alt="Avatar" style="width:100%">
      
    </div>
    
    <h1>Aman Jagadhabhi</h1>
    <p>Frontend Developer</p>
    <ul>
      <li><span>Email:</span> username@example.com</li>
      <li><span>Phone:</span> (91+) 123-123-1234</li>
      <li><span>Location:</span> India</li>
    </ul>
  </div>
</div>
/* Container */
.card-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f3f3f3;
}

/* Card */
.card {
  position: relative;
  width: 350px;
  height: 500px;
  background-image: linear-gradient( 108.4deg,  rgba(250,236,190,1) 4.2%, rgba(247,202,205,1) 30.7%, rgba(255,186,233,1) 53.9%, rgba(214,176,214,1) 73.9%, rgba(148,195,231,1) 90.4% );
  border-radius: 15px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Profile Image */
.profile-img {
  width: 150px;
  height: 150px;
  background-color: #fff;
  border-radius: 50%;
  margin-bottom: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  animation: pulse 2s infinite;
}

/* Name */
.card h1 {
  margin: 0;
  font-size: 28px;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Job Title */
.card p {
  margin: 5px 0 20px;
  font-size: 16px;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Contact Info */
.card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 16px;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.card ul li {
  margin: 10px 0;
  padding: 5px;
}

.card ul li span {
  font-weight: bold;
}

/* Pulse Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(8,24,68,1);
  }
  70% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

External CSS

This Pen doesn't use any external CSS resources.

External JavaScript

This Pen doesn't use any external JavaScript resources.