2018-12-15 13:57:44 115阅读 0喜欢
45
2018-08-15 09:13:14 45阅读 0喜欢

less表达式动态循环遍历padding标签

.padding(@counter) when (@counter > 0) {
    .padding((@counter - 1));
  .padding-@{counter}{
      padding: (0px+@counter);
  }
}
.padding(10); // launch the loop
783访问人次
Camila Waz 2022-01-22 18:22:10