After last firefox-update some of css3-code has been broken... Example (jsfiddle).
Is it bug? Or normal working? What do i need to change to fix it? Why #flex
don't resize properly?
HTML:
<div id="outer"> <div id="flex"> <label>123</label> <input type="text" value="some text" /> </div> </div>
CSS:
#outer { display: flex; } #flex { display: flex; border: 1px solid green; outline: 1px solid red; } label { flex: 0 0 80px; }
Flexbox is very well supported across modern browsers, however there are a few issues that you might run into.
Flexbox was introduced in 2009 as a new layout system, with the goal to help us build responsive web pages and organize our elements easily, and since then, it's gained more and more attention. It turns out it's now used as the main layout system for modern web pages.
Fix:
input { min-width: 1px; }
For vertical direction - min-height
;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With