Lib: Allow to manually enable :hover on Button
This commit is contained in:
@ -1,3 +1,10 @@
|
||||
@tailwind base;
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
/* This class allows to manually simulate the "hover" class */
|
||||
.btn-hover {
|
||||
--tw-brightness: brightness(1.15);
|
||||
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale)
|
||||
var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user