【问题标题】:Angular 7 Material: Horizontally align cardsAngular 7 材质:水平对齐卡片
【发布时间】:2018-12-08 13:06:55
【问题描述】:

如果我有更多(材料)卡片,它们会垂直对齐。 怎么可能,从左到右水平对齐卡片?

【问题讨论】:

    标签: html css angular angular-material


    【解决方案1】:

    你可以使用属性fxLayout="row"

    <div fxLayout="row"  fxLayoutGap="12px"  [style.margin-top]="'12px'">
    

    STACKBLITZ DEMO

    【讨论】:

      猜你喜欢
      • 2016-08-31
      • 1970-01-01
      • 2019-03-11
      • 1970-01-01
      • 1970-01-01
      • 2020-06-22
      • 2023-03-27
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多