Skip to main content

All Questions

0 votes
1 answer
274 views

CSS specificity of the flex property over flex-basis [duplicate]

Can someone tell me if there is a spicificity among CSS properies? I am testing flexbox and I tried this scenario: The second selector .flex-basis-5 is applied via JS on some kind of condition. I was ...
Marc DG's user avatar
  • 85
3 votes
1 answer
632 views

Flexbox seems to be ignoring CSS specificity

I am attempting to use Flex-By-Default in the same manner as Facebook's CSS layout project. I am having some trouble when it comes to overriding the styles for display: inline-flex elements. Per this ...
mikemaccana's user avatar
20 votes
3 answers
2k views

Did Chrome 40 break justify-content CSS overriding?

I noticed with today's Chrome 40 update that justify-content does not seem to get properly overriden by subsequent style declarations. See this fiddle for an example: <div class="flex-parent"&...
Dan Abramov's user avatar