blankify

Every job offer starts with this exact card, here's the code behind it #profile #card #css #html

Source Code

index.html
<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8"/>
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <title>LinkedIn Profile</title>
  <link rel="stylesheet" href="styles.css"/>
</head>
<body>
  <main class="card">
    <div class="banner"></div>
    <div class="body">
      <div class="avatar">SC</div>
      <p class="name">Sarah Chen</p>
      <p class="title">Senior Frontend Engineer</p>
      <p class="company">at Vercel</p>
      <div class="meta">
        <span>San Francisco, CA</span>
        <span>ยท</span>
        <span class="connections">847 connections</span>
      </div>
      <div class="actions">
        <button class="connect">+ Connect</button>
        <button class="message">Message</button>
      </div>
    </div>
  </main>
</body>
</html>
styles.css
* {
  margin: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(160deg, #050608, #0a1422 60%, #0e1d33);
  font-family: system-ui, sans-serif;
}

.card {
  width: 420px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(40px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.banner {
  height: 110px;
  background: linear-gradient(135deg, #1e3a8a, #1d4ed8, #3b82f6);
}

.body {
  padding: 0 28px 28px;
}

.avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f2937, #374151);
  border: 4px solid #0a0e16;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  font-weight: 600;
  color: #fff;
  margin: -48px 0 12px;
}

.name {
  font-size: 20px;
  font-weight: 700;
  color: #f1f5f9;
}

.title {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 2px 0;
}

.company {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 12px;
}

.meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 18px;
}

.connections {
  color: #60a5fa;
  font-weight: 500;
}

.actions {
  display: flex;
  gap: 8px;
}

button {
  flex: 1;
  padding: 10px;
  border: none;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.connect {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  color: #fff;
}

.connect:hover {
  background: linear-gradient(135deg, #2549a8, #2563eb);
}

.message {
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.message:hover {
  background: rgba(255, 255, 255, 0.1);
}