Add a little zoom on image in link cards.
This commit is contained in:
parent
4958b76fb2
commit
e5ee9809bd
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user