Y
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
alwillis
1276 days ago
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.
link
wruza
1276 days ago
They don’t know what to do with options 1..5 neither.
link
dagurp
1276 days ago
How about a new file extension. .css2 or.xcss or something?
link