orgen-theme/assets/scss/custom/utilities/_position.scss
2023-04-06 16:58:33 +08:00

19 lines
242 B
PHP

@each $size, $value in $spacers {
.top-#{$size} {
top: $value;
}
.right-#{$size} {
right: $value;
}
.bottom-#{$size} {
bottom: $value;
}
.left-#{$size} {
left: $value;
}
}
.center {
left: 50%;
transform: translateX(-50%);
}