contenedores cuadrados

This commit is contained in:
f 2021-01-25 16:28:49 -03:00
parent c0dd3ab17b
commit 126ad3ee8f

View file

@ -14,6 +14,19 @@
&::-webkit-scrollbar { display: none; } &::-webkit-scrollbar { display: none; }
} }
// Mismo alto que ancho
.square {
@extend .position-relative;
padding-bottom: 100%;
& > * {
@extend .position-absolute;
@extend .top-0;
@extend .left-0;
@extend .h-100;
}
}
// Eventos del cursor // Eventos del cursor
@each $event in (none, auto) { @each $event in (none, auto) {
.pointer-event-#{$event} { .pointer-event-#{$event} {