init
This commit is contained in:
25
uni_modules/nutui-uni/components/col/index.scss
Normal file
25
uni_modules/nutui-uni/components/col/index.scss
Normal file
@@ -0,0 +1,25 @@
|
||||
.nut-col {
|
||||
box-sizing: border-box;
|
||||
float: left;
|
||||
word-break: break-all;
|
||||
|
||||
&-gutter {
|
||||
&:last-child {
|
||||
padding-right: 0 !important;
|
||||
}
|
||||
|
||||
&:first-child {
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@for $i from 1 through 24 {
|
||||
.nut-col-offset-#{$i} {
|
||||
margin-left: calc((100 / 24) * #{$i} * 1%);
|
||||
}
|
||||
|
||||
.nut-col-#{$i} {
|
||||
width: calc((100 / 24) * #{$i} * 1%);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user