HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by threatofrain | Hacker News Reader
Full thread
threatofrain
·
One last reason to use Sass would be parameterized media queries.
View on HN
leerob
·
Could you share an example where you'd want this? Genuinely curious, haven't used these before.
starkparker
·
I thought media queries were on the outs for flex/grid layouts and container queries?
leerob
·
I think media queries will still be used for a long time, but yeah container queries are a great addition on top.
duttonw
·
kinda needed if you want to make a nice 'print' view.
threatofrain
·
Container queries have the same issue.
angra_mainyu
·
mixins and placeholders are still enormously useful
nicbou
·
And nested CSS, although it’s coming to CSS soon.
laurels-marts
·
& nesting selector already has a baseline support:
https://developer.mozilla.org/en-US/docs/Web/CSS/Nesting_sel...
Reply on news.ycombinator.com