forked from profectus/Profectus
Fixed z-index issues when stopping hovering on .can
This commit is contained in:
parent
acc9622d49
commit
77a3d92075
1 changed files with 3 additions and 0 deletions
|
@ -7,6 +7,8 @@
|
||||||
margin: var(--feature-margin);
|
margin: var(--feature-margin);
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
color: var(--feature-foreground);
|
color: var(--feature-foreground);
|
||||||
|
z-index: 0;
|
||||||
|
transition: all 0.5s, z-index 0s 0.5s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.can,
|
.can,
|
||||||
|
@ -20,6 +22,7 @@
|
||||||
transform: scale(1.15, 1.15);
|
transform: scale(1.15, 1.15);
|
||||||
box-shadow: 0 0 20px var(--points);
|
box-shadow: 0 0 20px var(--points);
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
|
transition: all 0.5s, z-index 0s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.locked,
|
.locked,
|
||||||
|
|
Loading…
Reference in a new issue