You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Connected.Components/Styles/utilities/flexbox/_gap.scss

23 lines
396 B

2 years ago
@import '../../abstracts/variables';
$count: 0;
$value: 0;
@mixin gap($breakpoint) {
@while $count < 17 {
.gap-#{$breakpoint}#{$count} {
gap: #{$value}px;
}
.gap-x-#{$breakpoint}#{$count} {
column-gap: #{$value}px;
}
.gap-y-#{$breakpoint}#{$count} {
row-gap: #{$value}px;
}
$count: $count + 1;
$value: $value + 4;
}
}
@include gap("");