Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/engineering/preprocessors/less-syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,9 @@ button:hover {
width: 0;
}

.max(10px);
.max {
.max(10px);
}

// 编译后
.max {
Expand Down Expand Up @@ -360,7 +362,7 @@ Less 中混合调用自身,即可形成循环。
.loop(@counter - 1);

// 每次调用时产生的样式代码
width: (10px - * @counter);
width: (10px * @counter);
}

.container {
Expand Down