Hacker News new | ask | show | jobs
by jacobp100 1281 days ago
SASS only really cares about CSS compatibility with valid CSS, and won’t compile invalid CSS

Browsers handle CSS in a way that invalid CSS is ignored. This way, when you add new syntax to CSS, older parsers will ignore just the parts it doesn’t understand, and most (or all of the developer is careful) of the page will will be styled correctly

So in short, browsers have to make invalid CSS work too