feat(card): add zoom on card hovering
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Simon Vieille 2023-01-15 15:39:51 +01:00
parent 3821de8f19
commit 32a5934d49
Signed by: deblan
GPG Key ID: 579388D585F70417
1 changed files with 15 additions and 7 deletions

View File

@ -928,15 +928,23 @@ $links: (
}
}
.card figure {
a {
display: block;
width: 100%;
.card {
transition: transform .2s;
&:hover {
transform: scale(1.02);
}
img {
height: 200px;
width: 100%;
figure {
a {
display: block;
width: 100%;
}
img {
height: 200px;
width: 100%;
}
}
}