4 ms·
> it is not possible to say, "Make this element tall enough to consume the remaining vertical space." As of just a few months ago, it is. Look into the now-alm
by vertex-four 12y ago
> it is not possible to say, "Make this element tall enough to consume the remaining vertical space."
As of just a few months ago, it is. Look into the now-almost-standardised (last call working draft) version of flexbox, which is implemented in recent versions of Firefox and Chrome, and also IE11.
An example of what you say is impossible, in just a few lines of CSS: http://philipwalton.github.io/solved-by-flexbox/demos/sticky-footer/ http://philipwalton.github.io/solved-by-flexbox/demos/sticky...
- lisper 12y agoIt looks like you edited your comment. The original link was: http://philipwalton.github.io/solved-by-flexbox/demos/holy-grail/ http://philipwalton.github.io/solved-by-flexbox/demos/holy-g... and now it is: http://philipwalton.github.io/solved-by-flexbox/demos/sticky-footer/ http://philipwalton.github.io/solved-by-flexbox/demos/sticky... The latter is not what I described, and I can't get the former to work even in the latest Firefox.
- vertex-four 12y agoOops. I read what you said and thought the current one matched what I quoted better - sorry. I'm using Firefox 32.0.3, and both examples work for me perfectly. I'm not sure what the issue is.
- pessimizer 12y agoBoth work for me fine, too. Latest Firefox on Debian. According to: http://css-tricks.com/snippets/css/a-guide-to-flexbox/ http://css-tricks.com/snippets/css/a-guide-to-flexbox/ Firefox should work from v22 on.
- nojvek 12y agoflexbox support for mobile browsers is still pretty terrible.