We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 935cce0 commit faf3662Copy full SHA for faf3662
1 file changed
styles/card.module.css
@@ -5,6 +5,18 @@
5
background-color: var(--bg);
6
text-align: center;
7
align-items: center;
8
+ box-shadow: 0 0 0 0 var(--primary);
9
+ transition: 0.15s;
10
+}
11
+
12
+.card:hover {
13
+ box-shadow: 10px 10px 0 0 var(--primary);
14
+ transform: translate(-10px, -10px);
15
16
17
+.card:active {
18
+ box-shadow: 3px 3px 0 0 var(--primary);
19
+ transform: translate(-3px, -3px);
20
}
21
22
.card:has(*) {
0 commit comments