Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] The longest but not the latest css applied. #635

Closed
FateRiddle opened this issue Aug 9, 2019 · 1 comment
Closed

[bug] The longest but not the latest css applied. #635

FateRiddle opened this issue Aug 9, 2019 · 1 comment

Comments

@FateRiddle
Copy link

It doesn't make sense, that if you write mb3 then in some case margin bottom needs to be zero, so you write a conditional mb0, somehow it doesn't work.

I wrote a codesandbox, and it seems only the longest measure applies rather than the latest, which doesn't make any sense to me, since it is not how css supposed to work.

@FateRiddle
Copy link
Author

Ok, I understand it is pretty silly because ma0 class is written before ma3 in css, so that's exactly how css works. But this is a problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant