【发布时间】:2019-03-19 17:44:07
【问题描述】:
对于前端开发者来说,似乎 CSS 属性 float 是完整的,我们可以使用 float 为所欲为。但是,如何证明flex与float相同,也完全?
【问题讨论】:
-
你用 flex 写过代码还是用 flex 卡在任何地方?
-
看看我能快速展示给你的东西 - a comparison between table, float and flexbox in a simple layout... flex 比 float 能做的更多,你真的应该试试 ;)
-
we can do anything we want using float.如何使浮动元素居中?