3 ms·
Why CSS is magnitudes worse?
by The_rationalist 7y ago
Why CSS is magnitudes worse?
- IshKebab 7y agoI have no idea about WPF but CSS was really designed as a document styling system. It isn't very good as an app styling system: There's no scoping so it's really hard to know which bits of an app any CSS affects, and really hard to find all the CSS that affects a particular part of an app. It mixes styling (colours etc) with layout (flexbox). Etc.
- The_rationalist 7y agoThere's no scoping so it's really hard to know which bits of an app any CSS affects Shadow dom and css modules say hi really hard to find all the CSS that affects a particular part of an app Devtools show which selector from which file affect which element. It mixes styling (colours etc) with layout (flexbox). Yes, why not? :)