ohayolibs
Version:
Ohayo is a set of essential modules for ohayojp.
14 lines (12 loc) • 599 B
text/less
.for-each(@widths, {
.width-@{adKey} { width: ~`genComment('@{adValue} !important','指定宽度为 "@{adValue}"', 'Specify the width as "@{adValue}"')` }
.max-width-@{adKey} { max-width: ~`genComment('@{adValue} !important', '指定最大宽度为 "@{adValue}"', 'Specify the maximum width as "@{adValue}"')` }
.min-width-@{adKey} { min-width: ~`genComment('@{adValue} !important', '指定最小宽度为 "@{adValue}"', 'Specify the minimum width as "@{adValue}"')` }
});
@media (max-width: @mobile-max) {
.width-sm,
.max-width-sm,
.min-width-sm {
width: 100% ;
}
}