Reputation: 30926
How can I write "input:not([type="submit"])"
using LESS? I think the CSS syntax does not work with IE, is there a LESS command that does?
Upvotes: 1
Views: 1390
Reputation: 9345
I don't think so. LESS can't do more than pure CSS - it's just more convenient to write. As a workaround until not: is available you could use something like
input {
/* set properties for all input types */
&[type="submit] {
/* undo for type submit */
}
}
Upvotes: 2