CSS 的注释格式在LESS 中依然有效:

/*Hello, I'm a CSS-style comment */ 

.class{ color: black }

LESS 同样也支持双斜线的注释,但是编译成CSS 的时候自动过滤掉:

//Hi, I'm a silent comment, I won't show up in your CSS 

.class{ color: white }
Copyright © 李振超 2018 all right reserved,powered by Gitbook
该文件最后修订时间: 2018-10-18 03:20:27

results matching ""

    No results matching ""