refactor api
This commit is contained in:
@@ -58,3 +58,13 @@ each(@tuiColors, {
|
||||
background: @value;
|
||||
}
|
||||
});
|
||||
|
||||
.build-width-class(@width, @max) when (@width =< @max) {
|
||||
.w-@{width} {
|
||||
width: unit((@width / 16), rem);
|
||||
}
|
||||
|
||||
.build-width-class((@width + 10), @max);
|
||||
}
|
||||
|
||||
.build-width-class(80, 600);
|
||||
|
||||
Reference in New Issue
Block a user