mirror of
https://gitee.com/baidu/amis.git
synced 2024-11-30 02:58:05 +08:00
29 lines
498 B
SCSS
29 lines
498 B
SCSS
/*!markdown
|
|
|
|
---
|
|
title: Flex Grow
|
|
---
|
|
|
|
| Class | Properties |
|
|
| ----------- | ------------------------ |
|
|
| flex-grow-0 | flex-grow: 0 |
|
|
| flex-grow | flex-grow: 1 |
|
|
|
|
|
|
*/
|
|
@mixin make-flex-grow($prefix: '.') {
|
|
#{$prefix}flex-grow-0 {
|
|
flex-grow: 0;
|
|
}
|
|
#{$prefix}flex-grow {
|
|
flex-grow: 1;
|
|
}
|
|
}
|
|
|
|
@include make-flex-grow();
|
|
@each $deivce in map-keys($devices) {
|
|
@include media-device($deivce) {
|
|
@include make-flex-grow('.' + selector-escape($deivce + ':'));
|
|
}
|
|
}
|