<div class="card">
<img
src="https://images.unsplash.com/photo-1503736334956-4c8f8e92946d?ixid=MnwxMjA3fDB8MHxzZWFyY2h8MjF8fGNhcnN8ZW58MHx8MHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=60"
alt=""
/>
<img
src="https://images.unsplash.com/photo-1584874209355-5f7110d074eb?ixlib=rb-1.2.1&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=634&q=80"
alt=""
/>
<img
src="https://images.unsplash.com/photo-1603386329225-868f9b1ee6c9?ixid=MnwxMjA3fDB8MHxzZWFyY2h8NjN8fGNhcnN8ZW58MHx8MHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=600&q=60"
alt=""
/>
</div>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: "Nunito", sans-serif;
}
body {
height: 100vmin;
width: 100%;
align-items: center;
display: flex;
justify-content: center;
background-color: #75cfb8;
}
.card {
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 0 20px;
}
.card img {
width: 350px;
height: 300px;
object-fit: cover;
transition: 0.6s cubic-bezier(0.755, 0.05, 0.855, 0.06);
filter: blur(4px) grayscale(100%);
}
.card img:hover {
transform: scale(1.04);
filter: blur(0px) grayscale(0);
}
@media (max-width: 600px) {
.card {
grid-template-columns: 1fr;
gap: 20px;
}
}
//nope
This Pen doesn't use any external CSS resources.
This Pen doesn't use any external JavaScript resources.