构建 CSS layout 的 3 种方式:float, flexbox, grid

构建 CSS layout 的 3 种方法:

  1. float 已过时
  2. flexbox 一维组件布局
  3. css grid 二维布局,页面布局或者组件布局。

猜你喜欢

转载自blog.csdn.net/ftell/article/details/123166690