Don't forget whitespace for `calc()`
When using the CSS calc()
property, don't forget whitespace around the operator. This will mysteriously fail:
.foo {
min-width: calc(100%-8rem)
}
This will parse correctly:
.foo {
min-width: calc(100% - 8rem)
}
Tweet