Ref based .active item selector, hoverable device query & usehooks-ts package

This commit is contained in:
Xevion
2022-12-24 12:51:07 -06:00
parent 4f289e5051
commit e0b68e829f
5 changed files with 29 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ html, body {
@apply hidden transition-all delay-100;
}
&:hover, &:focus, &:focus-within {
&:hover, &.active {
.elements {
@apply grid;
}
@@ -39,7 +39,7 @@ html, body {
> span {
@apply transition-colors delay-300;
&:hover, &:focus-within, &:focus {
&:hover, &.active {
@apply text-black bg-white;
transition-delay: 0s;
}