1
0
Fork 0
mirror of https://github.com/kou029w/quot.git synced 2025-01-18 16:08:03 +00:00

shadow in hover

This commit is contained in:
Nebel 2022-08-31 12:02:23 +09:00
parent 3ea90fbd06
commit f14e66d938

View file

@ -3,3 +3,12 @@
gap: 1rem;
grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
}
.cards > a:hover::after {
content: "";
background-color: rgba(0, 0, 0, 10%);
display: block;
position: relative;
top: -100%;
height: 100%;
}