|
|
|
|
|
by jazoom
3011 days ago
|
|
I know CSS very well and I really don't like it. I can't wait until components make all the ridiculousness of "cascading" go away. Explicit inheritance would be far less messy IMO. I currently use Vue and I scope as much CSS as possible. In case you're not seeing a problem with cascading, let me give you a scenario. It's not a scenario everyone will run into but in a sense it's the same problem in every CSS project. This is just a very concrete example. When you create a UI that is supposed to be added to a web page (think browser extension) you have to manually override every single possible CSS attribute to make the styling consistent across web pages. The shadow DOM is the first thing that helps this, but it's still not popular enough to use. |
|