diff --git a/_sass/helpers.scss b/_sass/helpers.scss index dad1aae..5642b56 100644 --- a/_sass/helpers.scss +++ b/_sass/helpers.scss @@ -14,6 +14,19 @@ &::-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 @each $event in (none, auto) { .pointer-event-#{$event} {