row__col()

  • /src/css/core/abstract/_deprecated.scss

Abstract column element of flexbox based grid system

scss

//
// @param  int  $columns      molecule column size
// @param  int  $max-columns  denominator column size
//

@use "node_modules/sass-basis/src/css/core";

.c-row {
  @include core.row();

  &__col {
    @include core.row__col();

    &--1-3 {
      @include core.row__col(1, 3);
    }
  }
}

html

<div class="c-row">
  <div class="c-row__col c-row__col--1-3">
    ...
  </div>
</div>

row__col--width()

  • /src/css/core/abstract/_deprecated.scss

Sets column width of flexbox based grid system

scss

//
// @param  length  $width
//

@use "node_modules/sass-basis/src/css/core";

.c-row {
  @include core.row();

  &__col {
    @include core.row__col();
    @include core.row__col--width(auto);
  }
}

row__col--offset()

  • /src/css/core/abstract/_deprecated.scss

Sets column offset of flexbox based grid system

scss

//
// @param  int  $columns      molecule column size
// @param  int  $max-columns  denominator column size
//

@use "node_modules/sass-basis/src/css/core";

.c-row {
  @include core.row();

  &__col {
    @include core.row__col();
    @include core.row__col--offset(1, 3);
  }
}

row--margin()

  • /src/css/core/abstract/_deprecated.scss

Sets row margin of flexbox based grid system

scss

//
// @param  int  $coefficient
//

@use "node_modules/sass-basis/src/css/core";

.c-row {
  @include core.row();
  @include core.row--margin(1);
}

row__col--margin()

  • /src/css/core/abstract/_deprecated.scss

Sets column margin of flexbox based grid system

scss

//
// @param  int  $coefficient
//

@use "node_modules/sass-basis/src/css/core";

.c-row__col {
  @include core.row__col();
  @include core.row__col--margin(1);
}

row()

  • /src/css/core/abstract/_row.scss

Abstract row component of flexbox based grid system

scss

@use "node_modules/sass-basis/src/css/core";

.c-row {
  @include core.row();

  &__col {
    flex: 0 1 100%;
    max-width: 100%;

    &--1-3 {
      flex-basis: 33.33333%;
      max-width: 33.33333%;
    }
  }
}

html

<div class="c-row">
  <div class="c-row__col c-row__col--1-3">
    ...
  </div>
</div>