vendor: amis 6.13.0 base (fork root)
This commit is contained in:
40
packages/amis-ui/scss/helper/box-alignment/_place-items.scss
Normal file
40
packages/amis-ui/scss/helper/box-alignment/_place-items.scss
Normal file
@@ -0,0 +1,40 @@
|
||||
/*!markdown
|
||||
|
||||
---
|
||||
title: Place Items
|
||||
---
|
||||
|
||||
| Class | Properties |
|
||||
| ----------- | ------------------------ |
|
||||
| place-items-auto | place-items: auto |
|
||||
| place-items-start | place-items: start |
|
||||
| place-items-end | place-items: end |
|
||||
| place-items-center | place-items: center |
|
||||
| place-items-stretch | place-items: stretch |
|
||||
|
||||
|
||||
*/
|
||||
@mixin make-place-items($prefix: '.') {
|
||||
#{$prefix}place-items-auto {
|
||||
place-items: auto;
|
||||
}
|
||||
#{$prefix}place-items-start {
|
||||
place-items: start;
|
||||
}
|
||||
#{$prefix}place-items-end {
|
||||
place-items: end;
|
||||
}
|
||||
#{$prefix}place-items-center {
|
||||
place-items: center;
|
||||
}
|
||||
#{$prefix}place-items-stretch {
|
||||
place-items: stretch;
|
||||
}
|
||||
}
|
||||
|
||||
@include make-place-items();
|
||||
@each $deivce in map-keys($devices) {
|
||||
@include media-device($deivce) {
|
||||
@include make-place-items('.' + selector-escape($deivce + ':'));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user