feat: 10단위 column 분리
This commit is contained in:
@@ -1,3 +1,6 @@
|
|||||||
|
@import "bootstrap/scss/vendor/rfs";
|
||||||
|
@import 'bootstrap/scss/mixins/grid';
|
||||||
|
|
||||||
$container-max-widths: (
|
$container-max-widths: (
|
||||||
md: 500px,
|
md: 500px,
|
||||||
lg: 1020px,
|
lg: 1020px,
|
||||||
@@ -14,10 +17,22 @@ $grid-breakpoints: (
|
|||||||
xxl: 1400px
|
xxl: 1400px
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@for $i from 1 through 10 {
|
||||||
|
.col10-#{$i} {
|
||||||
|
@include make-col($i, 10);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@mixin media-1000px{
|
@mixin media-1000px{
|
||||||
@media (min-width: map-get($grid-breakpoints, 'md')) {
|
@media (min-width: map-get($grid-breakpoints, 'md')) {
|
||||||
@content;
|
@content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@for $i from 1 through 10 {
|
||||||
|
.col10d-#{$i} {
|
||||||
|
@include make-col($i, 10);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@mixin media-500px{
|
@mixin media-500px{
|
||||||
|
|||||||
Reference in New Issue
Block a user