You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assuming there's a .Block and .Block .Block--blue element, both buttons will switch to green if wider than 100px.
This is because as the algorithm resolves the styles, it get's to the following query in the JSON:
It would also be beneficial if such conditions got grouped, instead of let separated like in the example.
(Won't solve this issue, but at least saves some bytes.)
Consider the following CSS:
Assuming there's a
.Block
and.Block .Block--blue
element, both buttons will switch to green if wider than 100px.This is because as the algorithm resolves the styles, it get's to the following query in the JSON:
Since the algorithm resolves from back-to-front, it'll first apply
.Block--blue
's, then.Block
's styles.That's how the green background gets applied last.
The text was updated successfully, but these errors were encountered: