1
0
Fork 0
mirror of https://github.com/uhIgnacio/igna.rocks.git synced 2024-08-15 02:23:12 +00:00
igna.rocks/assets/js/less/effects/shadow-and-glow-transitions/_box-shadow-inset.less
2021-08-31 11:30:22 -04:00

16 lines
443 B
Text

/* Box Shadow Inset */
.box-shadow-inset() {
.hacks();
.prefixed(transition-duration, @mediumDuration);
.prefixed(transition-property, box-shadow);
box-shadow: inset 0 0 0 @shadowColor,
0 0 1px rgba(0, 0, 0, 0); /* Hack to improve aliasing on mobile/tablet devices */
&:hover,
&:focus,
&:active {
box-shadow: inset 2px 2px 2px @shadowColor,
0 0 1px rgba(0, 0, 0, 0); /* Hack to improve aliasing on mobile/tablet devices */
}
}