eventos del cursor

This commit is contained in:
f 2021-01-12 20:09:32 -03:00
parent c358a18c98
commit ba13d37fbe

View file

@ -14,9 +14,19 @@
&::-webkit-scrollbar { display: none; }
}
// El elemento no se puede cliquear
.click-through {
pointer-events: none;
// Eventos del cursor
@each $event in (none, auto) {
.pointer-event-#{$event} {
pointer-events: $event;
}
@each $grid-breakpoint, $_ in $grid-breakpoints {
@include media-breakpoint-up($grid-breakpoint) {
.pointer-event-#{$grid-breakpoint}-#{$event} {
pointer-events: $event;
}
}
}
}
// Agrega una transición a cualquier modificación de atributos