summaryrefslogtreecommitdiffstats
path: root/src/layouts/_flex.scss
blob: 0e391678f36ba75be575bee90052a01908aeaa83 (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
24
25
26
27
@use 'iro-sass/src/bem';

@mixin styles {
    @include bem.layout('flex') {
        display: flex;

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

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

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

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

        @include bem.modifier('column') {
            flex-direction: column;
        }
    }
}