【发布时间】:2014-04-12 08:56:41
【问题描述】:
我正在测试手写笔,令我惊讶的是编译器几乎可以转换我输入的所有内容:
mivar = blackredgrenn
body
margin 0f
background-color #323242342332423123
werewers
color red
&:first-child
color mivar
whatever assa hj
进入
body{margin:0 f;}
body background-color #323242342332423123 werewers{color:#f00;whatever:assa hj}
body background-color #323242342332423123 werewers:first-child{color:blackredgrenn}
这是它应该工作的方式吗?是否有任何选项可以使编译器停止并显示更少的错误?我正在用 grunt 编译,之后运行 csslint 以发现错误的常见做法是什么?我们有什么选择?
【问题讨论】: