amis2/scss/utilities/typography/_whitespace.scss
2020-11-27 21:21:20 +08:00

26 lines
480 B
SCSS

@mixin make-whitespace($prefix: '.') {
@each $name,
$value
in (
'normal': normal,
'nowrap': nowrap,
'pre': pre,
'pre-line': pre-line,
'pre-wrap': pre-wrap
)
{
#{$prefix}align-#{$name} {
vertical-align: $value;
}
}
}
@include make-whitespace();
@each $deivce in map-keys($devices) {
@include media-device($deivce) {
@include make-whitespace('.' + selector-escape($deivce + ':'));
}
}
// hover ?