add images covers
This commit is contained in:
parent
06a2e81c66
commit
972faa7e32
2 changed files with 20 additions and 1 deletions
|
|
@ -172,3 +172,17 @@
|
|||
.shift-small {
|
||||
margin-left: var(--shift-small);
|
||||
}
|
||||
|
||||
.image-wrapper {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.image-wrapper .image-cover {
|
||||
position: absolute;
|
||||
z-index: 2;
|
||||
opacity: 1;
|
||||
transition: opacity 0.2s ease-in-out;
|
||||
}
|
||||
.event-card:hover .image-cover {
|
||||
opacity: 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue