@import (reference) '~@/assets/style/extend.less';

.width-height (@i) when (@i <=20) {

  @n : @i * 50;

  .w-@{n} {
    width: @n * 1px !important;
  }

  .h-@{n} {
    height: @n * 1px !important;
  }

  .w-@{n}-p {
    width: @n * 1% !important;
  }

  .h-@{n}-p {
    height: @n * 1% !important;
  }

  .width-height(@i + 1);
}

.width-height(0);

.flex-1 {
  flex: 1;
}