Skip to content

Commit

Permalink
* utilities: add css helpers to change display on hover.
Browse files Browse the repository at this point in the history
  • Loading branch information
catouse committed Aug 30, 2024
1 parent cd3b5a3 commit ac45b26
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions lib/utilities/src/interactivity/hover.css
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,12 @@
.active\:shadow:active,
.group.active .group-active\:shadow,
.active\:shadow.active {@apply -shadow;}

.group:hover .group-hover\:block,
.hover\:block:hover {@apply !-block;}

.group:hover .group-hover\:flex,
.hover\:flex:hover {@apply !-flex;}

.group:hover .group-hover\:inline-flex,
.hover\:inline-flex:hover {@apply !-inline-flex;}

0 comments on commit ac45b26

Please sign in to comment.