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:
parent
3ea90fbd06
commit
f14e66d938
1 changed files with 9 additions and 0 deletions
|
@ -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%;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue