@mixin center-flex()

Helper mixin for center with flex

Map Properties & Output

{CSS output} (code block)

align-items, display and justify-content.

Example

scss
.block-title {
  @include center-flex();
}
.block-display {
  @include center-flex(true);
}
.block-display-column {
  @include center-flex(true, true);
}