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.
如何"input:not([type="submit"])"使用 LESS 进行写作?我认为 CSS 语法不适用于 IE,是否有 LESS 命令可以?
"input:not([type="submit"])"
我不这么认为。LESS 不能比纯 CSS 做更多的事情——它只是写起来更方便。作为一种解决方法,直到没有:可用,您可以使用类似的东西
input { /* set properties for all input types */ &[type="submit] { /* undo for type submit */ } }