R
R
r_g_b_a2020-06-27 17:15:41
css
r_g_b_a, 2020-06-27 17:15:41

Differences between firefox and chrome when using flex-basis?

Please tell me why the result in firefox and chrome is different.
https://jsfiddle.net/0sokqyhg/upd

. And yet, on mdn it is written

Attention: in case the element has flex-basis (other than auto) and width (or height in case of flex-direction: column) set at the same time, flex-basis takes precedence.

I set the width in the example above, and the result changes. https://jsfiddle.net/1xu74smj/ although how should it be ignored.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question