News for hackers. Stuff that matters.
Re:Help choose the syntax for CSS Nesting by janitor61 on Thursday December 15, 2022 @06:57PM (#34007602)
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?
Re:Help choose the syntax for CSS Nesting by dagurp on Thursday December 15, 2022 @07:11PM (#34007705)
How about a new file extension. .css2 or.xcss or something?
Re:Help choose the syntax for CSS Nesting by alwillis on Thursday December 15, 2022 @08:04PM (#34008132)
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.
Re:Help choose the syntax for CSS Nesting by wruza on Friday December 16, 2022 @02:05AM (#34011569)
They don’t know what to do with options 1..5 neither.