Add a little zoom on image in link cards.

This commit is contained in:
Adrian 2024-02-07 12:48:38 +01:00
parent 4958b76fb2
commit e5ee9809bd

View File

@ -143,6 +143,14 @@ h1 {
margin-bottom: 0.75rem; margin-bottom: 0.75rem;
} }
.card .img {
transition: scale 200ms ease-in-out;
}
.card:hover .img {
scale: 1.1;
}
.card .img img { .card .img img {
margin: 1rem 1rem 0 1rem; margin: 1rem 1rem 0 1rem;
max-width: 150px; max-width: 150px;