demarches-normaliennes/app/assets/stylesheets/flex.scss
2021-04-20 09:34:52 +02:00

51 lines
621 B
SCSS

.flex {
display: flex;
&.align-center {
align-items: center;
}
&.align-start {
align-items: flex-start;
}
&.align-baseline {
align-items: baseline;
}
&.justify-between {
justify-content: space-between;
}
&.justify-center {
justify-content: center;
}
&.justify-start {
justify-content: flex-start;
}
&.justify-end {
justify-content: flex-end;
}
&.wrap {
flex-wrap: wrap;
}
&.column {
flex-direction: column;
}
&.row-reverse {
flex-direction: row-reverse;
}
}
.flex-grow {
flex-grow: 1;
}
.flex-no-shrink {
flex-shrink: 0;
}