contenedores cuadrados
This commit is contained in:
parent
c0dd3ab17b
commit
126ad3ee8f
1 changed files with 13 additions and 0 deletions
|
@ -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} {
|
||||
|
|
Loading…
Reference in a new issue