Tagged Questions
9
votes
1answer
1k views
Why doesn't CSS natively support variables and hierarchy?
I am new to UI development, but I feel very uncomfortable with how CSS works.
My use case is that I wanted to apply some specific styles inside a particular div on a page.
CSS attempt:
div.class1 ...