@mixin margin-x-width {
  $count: 0rem;

  @for $i from 0 through 20 {
    .m-width-#{$i} {
      margin-right: $count !important;
      margin-left: $count !important;
    }

    $count: $count+0.25;
  }
}

@mixin margin-x-height {
  $count: 0rem;

  @for $i from 0 through 20 {

    .m-height-#{$i} {
      margin-top: $count !important;
      margin-bottom: $count !important;
    }

    $count: $count+0.25;
  }
}

@include margin-x-width;
@include margin-x-height;