<body>
<div class="container">
<div class="cards">
<div class="imgBx">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTAKPtCXq1-IqmuECPSq0dISXEdoz1z-Fps0IWn01Lj-hem-NsLoXWcSPSJiRdxWX2DM_w&usqp=CAU" alt="">
</div>
<div class="content">
<div class="details">
<h2>Frida Kahlo<br><span>Senior Designer</span></h2>
<ul class="social_icons">
<li><a href=""><i class="fa-brands fa-instagram"></i></a></li>
<li><a href=""><i class="fa-brands fa-facebook"></i></a></li>
<li><a href=""><i class="fa-brands fa-twitter"></i></a></li>
<li><a href=""><i class="fa-brands fa-youtube"></i></a></li>
</ul>
</div>
</div>
</div>
<div class="cards">
<div class="imgBx">
<img src="data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEAAkGBxAQEhUPERAPFRUQFhUOFRUPEBUVFRAVFRUWFxUVFRUYHSggGBolGxUVITEhJSkrLi4uFx8zODMsNygtLisBCgoKBQUFDgUFDisZExkrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrKysrK//AABEIAOEA4QMBIgACEQEDEQH/xAAcAAACAgMBAQAAAAAAAAAAAAAAAQUGAgQHAwj/xAA5EAABAwIEAwYEBAcAAwEAAAABAAIRAwQFEiExBkFREyJhcYGRBzKhsULB0fAUI1JicoLhQ3OSFf/EABQBAQAAAAAAAAAAAAAAAAAAAAD/xAAUEQEAAAAAAAAAAAAAAAAAAAAA/9oADAMBAAIRAxEAPwDsiaEIBCEIBCEIBCE0CQmhAkIKrXE/EdO3YXF3IwAdXbgeckHTTbUoJm+xShQE1arGwJ1Op8mjUnwCj6PFFu/d3Z5iWt7UgFxHMtBOUf5EHwC4NjPENSrUL6zHvce6Dmcx7Wnkw82xz18174bjANLLQdRpk9yq+6ph1WnM6gulrQdgRl33lB9B4dfsrA5SMzTlcJnKeXoRBHgVtrimB8SVLeo3s3PdlaGntD3nDfK4DRwmS1wJgmJ116RhfGdrWygksLtO98odzbPL1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WoeS2NNCCN2Ec5VrxGhKhKlCDI06+KCG7SvQIg5mjmBqfMei3rbGCG6ucP7cjp8tluOo5tfuvFlsOmqDxdigmQap8qbuvkvT+LuKjezpNqa6ElpbpExLvRbVpbjoPZWHDqDToBsZkIIvA+HzSIrVodUOoH4af+PjzlXLDW6qMfT72nkpqwbCC40D3W+QXqoq1vIEHULdt7ltScp1buDuEGxKFihA0JIQCSaSAKRQgoEhCEGCJSSQNKUkw1ALINTa1ZQgAFhdU87HN6jTz5L0Tagpt2oxxmVOY7QyPPR3eHruq+8w4hBqXLFFXNJTNdR9ZiCMLNF5hp2Wy4xy3WORA6O/71VjsGw2fsoCg2CFMMqQAJQbtJve81K0jC0bMTBC3kG9buW/aPhwP+p8iou3K36J28x90E4QsSskkGKEyFiUDSQkgaSEIBCSEHkmAsoQgEwhNAwmkEwgYTAQFkAg0MZse2pkD5m95vj1Col5buH5LpjVXuIMNHzgaO38CgoznnmtZz9wpm8sTlkbj6qHq03A/dBpVmarBb3YBwkfRab6Zbugypv8Aoty2hx2Gii2zOql8PYgsFqIEBbC17PVSlO3lBjbNW7SaczB1cPunSogBbFhTmoD/AEgn8kEqUlkViUCQhJAiEisikgxQghIoHKEkIEhCAgaaSyQAWQSCyCBhZAJBZBA4Sq0w9pa4aHQrJNBVruzNMlp9+oUNeWAdyV7vLcVGxzGo/RV64pxpGyCt0LMtkadFH3tnudNNvEKwV4Xi+lImEFT/AIcz+9FMYZbQNvDzWVa01mFv2LB7aIPe1bCkaDjstemyFtMEIJCiyVv2VKAT1P2WjbSYHM6KXDYEdNECKSyKxKDEpLIrEoEhBSQBSKEIEhCaBIQhA00kIMgsgmhAwswhCBpoQgGqv4x87v3yCEIIS439/wAlk/l5fokhB5H9V4W2580IQSdJb9JCEG9hvzjyKlSkhAikhCDErEoQgSSSEAkmhAIQhB//2Q==" alt="">
</div>
<div class="content">
<div class="details">
<h2>Norman Osgood<br><span>Senior Designer</span></h2>
<ul class="social_icons">
<li><a href=""><i class="fa-brands fa-instagram"></i></a></li>
<li><a href=""><i class="fa-brands fa-facebook"></i></a></li>
<li><a href=""><i class="fa-brands fa-twitter"></i></a></li>
<li><a href=""><i class="fa-brands fa-youtube"></i></a></li>
</ul>
</div>
</div>
</div>
<div class="cards">
<div class="imgBx">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcT57yQ7n785AIejIerLH_2B6lRe6Rg4gb1Le5AvqFFy_4yuwexLtszvLE_PFVyn-64QGu0&usqp=CAU" alt="">
</div>
<div class="content">
<div class="details">
<h2>Fredika Bromley<br><span>Senior Designer</span></h2>
<ul class="social_icons">
<li><a href=""><i class="fa-brands fa-instagram"></i></a></li>
<li><a href=""><i class="fa-brands fa-facebook"></i></a></li>
<li><a href=""><i class="fa-brands fa-twitter"></i></a></li>
<li><a href=""><i class="fa-brands fa-youtube"></i></a></li>
</ul>
</div>
</div>
</div>
<div class="cards">
<div class="imgBx">
<img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcS7W_KeHKyqSqswYFknE7G5-2_JDYl0Jl7WtkItH9whLBDqXBjyqKDhOkMnFocK54RtGNo&usqp=CAU" alt="">
</div>
<div class="content">
<div class="details">
<h2>Natasha Minklestein<br><span>Senior Designer</span></h2>
<ul class="social_icons">
<li><a href=""><i class="fa-brands fa-instagram"></i></a></li>
<li><a href=""><i class="fa-brands fa-facebook"></i></a></li>
<li><a href=""><i class="fa-brands fa-twitter"></i></a></li>
<li><a href=""><i class="fa-brands fa-youtube"></i></a></li>
</ul>
</div>
</div>
</div>
</div>
<script src="https://kit.fontawesome.com/24474e4559.js" crossorigin="anonymous"></script>
</body>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
display: flex;
justify-content: center;
align-items: center;
min-height: 100vh;
border-radius: 20px;
}
.container {
position: relative;
width: 1280px;
display: flex;
justify-content: center;
align-items: center;
flex-wrap: wrap;
}
.container .cards {
position: relative;
width: 300px;
height: 400px;
background: linear-gradient(#2196f3, #2196f3 30%, #1d3548 30%, #1d3548);
margin: 10px;
border-radius: 20px;
overflow: hidden;
}
.container .cards .imgBx {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
transition: 0.5s;
z-index: 100000;
transform-origin: top;
}
.container .cards:hover .imgBx {
transform: translateY(30px) scale(0.5);
}
.container .cards .imgBx img {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
object-fit: cover;
}
.container .cards .content {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
display: flex;
justify-content: center;
align-items: flex-end;
padding-bottom: 30px;
transform: translateY(100%);
transition: 0.5s;
}
.container .cards:hover .content {
transform: translateY(0);
}
.container .cards .content .details h2 {
color: #fff;
font-size: 1.5em;
font-weight: 500;
}
.container .cards .content .details h2 span {
font-size: 0.8em;
font-weight: 400;
color: #03a9f4;
}
.social_icons {
position: relative;
display: flex;
margin-top: 5px;
}
.social_icons li {
list-style: none;
margin: 4px;
}
.social_icons li a {
width: 45px;
height: 45px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 50%;
font-size: 1.5em;
color: #fff;
text-decoration: none;
transition: 0.5s;
}
.social_icons li a:hover {
transform: rotate(360deg);
background: #03a9f4;
}
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.