feat(card): add zoom on card hovering
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
3821de8f19
commit
32a5934d49
|
@ -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%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue