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
1 changed files with 8 additions and 0 deletions

View File

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