sky/assets/scss/argon-design-system/utilities/position.scss

19 lines
242 B
SCSS
Raw Normal View History

2021-07-25 09:12:40 +08:00
@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%);
}