summaryrefslogtreecommitdiffstats
path: root/src/layouts/_flex.scss
blob: e8cdbaa7544a6966751f7ab653000163e69d3274 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
@use 'iro-sass/src/index' as iro;

@include iro.props-namespace('flex') {
    @include iro.bem-layout(iro.props-namespace()) {
        display: flex;

        @include iro.bem-modifier('align-stretch') {
            align-items: stretch;
        }

        @include iro.bem-modifier('align-center') {
            align-items: center;
        }

        @include iro.bem-modifier('align-start') {
            align-items: flex-start;
        }

        @include iro.bem-modifier('align-end') {
            align-items: flex-end;
        }
    }
}