【问题标题】:Angular flex-layout based structure issue基于角度弹性布局的结构问题
【发布时间】:2022-01-17 23:32:19
【问题描述】:

我目前在Stackblitz有这种设置

我想对其进行修改,使其重新结构如下;

我正在努力将 Test2 div 放在 Test1 div 下面。

【问题讨论】:

  • 最简单的方法是将其视为具有 2 列的行,其中第一列有 2 行。例如:stackblitz

标签: angular sass angular-flex-layout


【解决方案1】:

尝试使用 fxLayout.sm="column" 将 test1 和 test2 包装在一个 div 中,而父 div(包含所有三个)将具有 fxLayout.sm="row"

它看起来像this

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-02-28
    • 2021-11-10
    • 2011-05-18
    • 2018-04-17
    • 1970-01-01
    • 2018-08-14
    • 2018-03-03
    相关资源
    最近更新 更多