<div class="liquid-card">
<div class="liquid-blob"></div>
<div class="card-content">
<img src="https://placehold.co/100x100/ffffff/3b82f6?text=Avatar" alt="Profile Image" class="avatar">
<h3>Alex Sterling</h3>
<p>Lead UI/UX Designer</p>
<div class="social-links">
<button>Follow</button>
<button class="outline">Message</button>
</div>
</div>
</div>*, *::before, *::after {
box-sizing: border-box;
}
body {
font-family: system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
background: #f9fafb;
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
margin: 0;
padding: 20px;
}
.liquid-card {
position: relative;
width: 320px;
height: 420px;
background: #ffffff;
border-radius: 24px;
box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
overflow: hidden;
display: flex;
flex-direction: column;
align-items: center;
padding: 40px 20px;
}
.liquid-blob {
position: absolute;
top: -100px;
width: 350px;
height: 400px;
background: linear-gradient(135deg, #3b82f6, #8b5cf6);
border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
animation: morph 8s ease-in-out infinite;
z-index: 1;
}
@keyframes morph {
0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
34% { border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%; }
67% { border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%; }
}
.card-content {
position: relative;
z-index: 2;
text-align: center;
width: 100%;
}
.avatar {
width: 100px;
height: 100px;
border-radius: 50%;
border: 4px solid #ffffff;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.2);
margin-bottom: 20px;
margin-top: 40px;
}
.card-content h3 {
margin: 0;
font-size: 1.5rem;
color: #111827;
}
.card-content p {
color: #111827;
margin-top: 5px;
margin-bottom: 30px;
}
.social-links {
display: flex;
justify-content: center;
gap: 12px;
}
.social-links button {
background: #3b82f6;
color: #ffffff;
border: none;
padding: 10px 24px;
border-radius: 30px;
font-weight: 600;
cursor: pointer;
transition: transform 0.2s;
}
.social-links button:hover {
transform: translateY(-2px);
}
.social-links button.outline {
background: #f3f4f6;
color: #374151;
}Nothing to show yetType HTML, CSS or JavaScript and your page appears here.
Click any element to find its code Esc
Check this code before you run it
It came from a shared link. It runs with fewer permissions, so it cannot open pop-ups, submit forms or start downloads.
0.00s / 0.00s
Nothing has animated yet. Hover, click or type in the preview and each CSS animation, transition or
element.animate() call shows up here as it plays.