4 ms·
I've been re-learning CSS this year in order to work on my website and it's been amazing. Variables alone changed everything and I can't believe it's gotten nes
by matheusmoreira 3y ago
I've been re-learning CSS this year in order to work on my website and it's been amazing. Variables alone changed everything and I can't believe it's gotten nesting support already. Things like SASS are simply not needed anymore!
And it keeps getting features I couldn't even imagine. Scopes are awesome and will make selectors less complex. Those color functions are going to be very useful too, I spent way too much time fiddling with colors on my website and I have no doubt they're going to make things much easier.
- patrickdavey 3y agoWhat resources have you been using to relearn?
- matheusmoreira 3y agoThe Mozilla Developer Network. https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_c... https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_nesting/Using_CSS_nesting https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_nesting... https://developer.mozilla.org/en-US/docs/Web/CSS/@scope https://developer.mozilla.org/en-US/docs/Web/CSS/@scope
- lelanthran 3y ago> Things like SASS are simply not needed anymore! The problem with things that are not needed anymore is that they won't go away. Finally CSS has also these nice QoL things that SASS has, then SASS would add new things simply to provide value. Finally Javascript has all these nice things that make the framework redundant, then the frameworks add new things, of value, and remain relevant. After a couple of iterations of these sorts of arms races, we suddenly have a big and complicated $BASE_THING, and an even more complicated $ADDITIONAL_THING. It never ends - complexity in a specific software technology tooling, processes and development, much like entropy, only increases, it never decreases.
- robertoandred 3y agoI still use SASS functions. Hard to give those up for some things.
- Rapzid 3y agoMozilla are dragging their heels on @scope: https://github.com/mozilla/standards-positions/issues/472 https://github.com/mozilla/standards-positions/issues/472 https://connect.mozilla.org/t5/ideas/implement-css-scope-rule/idi-p/42479 https://connect.mozilla.org/t5/ideas/implement-css-scope-rul... Someone who clearly didn't get it was wasting three years time "well actually"ing everything. The latest news is "it's worth prototyping". Meanwhile Chrome has released it(steam rolled?) and Safari has it in tech preview. I question if FireFox has the resources to keep up with the pace of the modern web.
- matheusmoreira 3y agoMozilla has over a billion dollars in the bank but they're focusing on raising executive salaries and ineffectual agenda pushing over spending on Firefox development. https://news.ycombinator.com/item?id=37015592 https://news.ycombinator.com/item?id=37015592 Firefox might be coming to an end, sadly.
- Rapzid 3y agoYeah, I read complaints from people about more and more sites not working after updates and over time (banks, etc). How can they fulfill their mission if they aren't meeting users where they are at and being aggressive about being the best browser experience for users and developers? And they can't do that by thinking they know better than everyone else. They need to read the room and know which way the wind is blowing.