Hacker News new | ask | show | jobs
by janitor61 1276 days ago
I'd say they should avoid bloating CSS, keep Sass style and just use type='text/sass' or type='text/css-nested' in the style tag, but it seems that attribute is depreciated... why is that?
2 comments

The type attribute is not deprecated… but of course, no browser supports anything like

    <link rel="stylesheet" type="text/sass" href="style.css">
And certainly it breaks compatibility with older browsers which won't know what to do with it.
They don’t know what to do with options 1..5 neither.
How about a new file extension. .css2 or.xcss or something?