The scroll example is even more complicated cause the button was to find out if it should be disabled or even if it should be shown at all.
The scroll example is even more complicated cause the button was to find out if it should be disabled or even if it should be shown at all.
www.w3.org/TR/css-forms...
www.w3.org/TR/css-forms...
Maybe it's time to meet css on its terms.
Maybe it's time to meet css on its terms.
You declare it a bug.
And every framework that and solution that tried to solve this supposed bug inevitably lead into disaster. And broke the whole concept of the separation of concerns.
So maybe it's really not a bug. Just a solution.
You declare it a bug.
And every framework that and solution that tried to solve this supposed bug inevitably lead into disaster. And broke the whole concept of the separation of concerns.
So maybe it's really not a bug. Just a solution.
Exactly as I said. Working from the defaults to the specifics.
a{}
.ProductCard-Link{}
.ProductCard-ConfigurableOptions-VariantLink{}
.ProductCard-DeliveryPrice a{}
And all iterations of the cards are the same.
Exactly as I said. Working from the defaults to the specifics.
a{}
.ProductCard-Link{}
.ProductCard-ConfigurableOptions-VariantLink{}
.ProductCard-DeliveryPrice a{}
And all iterations of the cards are the same.
Do you suppose we don’t organize our styles? We do. An we do as much as possible with as little as possible.
Do you suppose we don’t organize our styles? We do. An we do as much as possible with as little as possible.
There was really no excuse. The original code before react was an unsorted list and 35 lines of CSS. It’s a product listing for heaven sake. Not dark magic.
There was really no excuse. The original code before react was an unsorted list and 35 lines of CSS. It’s a product listing for heaven sake. Not dark magic.
That’s in my book a good thing.
You get with a selector a lot of bang for a buck. You handle a lot with little code.
Of course this is intimidating sometimes. You have to care about the markup. Which alarmingly few JavaScript devs do.
That’s in my book a good thing.
You get with a selector a lot of bang for a buck. You handle a lot with little code.
Of course this is intimidating sometimes. You have to care about the markup. Which alarmingly few JavaScript devs do.
With child selectors you often end up with spaghetti selectors.
`ul.cards>li>a,ul.cards>li>span>a{}` instead of
`ul.cards a{}`
With child selectors you often end up with spaghetti selectors.
`ul.cards>li>a,ul.cards>li>span>a{}` instead of
`ul.cards a{}`
Answer in CSS: "Three declarations in the :root selector"
Answer because of CSSinJS: "Oh, that's a project of three months. Need to change all components."
Answer in CSS: "Three declarations in the :root selector"
Answer because of CSSinJS: "Oh, that's a project of three months. Need to change all components."