add image fade in

This commit is contained in:
isUnknown 2024-09-06 14:39:21 +02:00
parent f4e95f987d
commit 96bcd73a0e
3 changed files with 41 additions and 2 deletions

View file

@ -187,3 +187,17 @@
.event-card:hover .image-cover {
opacity: 0;
}
img,
picture svg.hide {
opacity: 0;
}
picture.hide {
background-color: transparent;
}
img {
transition: var(--transition-image-opacity);
}
img.show {
opacity: 1;
}