Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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?


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?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: