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.
我只是想在我的 CSS/SASS 注释中添加一些视觉上的区别,这样当我冲过一堆我正在处理的文件时,我可以更快地注意到它们。所以我想,为什么不使用dingbats,你的代码中看不到类似的东西,那为什么不开始使用它呢?
例如这里的交叉装饰:
我的问题 -在 CSS/SASS 或 JS中使用dingbats或以这种方式使用任何代码注释在语义上是否错误?
SASS 似乎并不介意这一点。页面加载也很整齐。
但不适合强迫症患者。