Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 less 中实现以下目标:
.bar { width: 100px; } .foo .bar { width: this + 20px // 120px }
使用 Less 是否可行?如果可以,怎么办?
谢谢
这不行吗?
@width: 100px; .bar { width: @width } .foo .bar { width: @width + 20px }