Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
janitor61
· 3y ago · 0 comments
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?
Comments
[–]
alwillis
3y 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.
[–]
wruza
3y ago
They don’t know what to do with options 1..5 neither.
[–]
dagurp
3y ago
How about a new file extension. .css2 or.xcss or something?