how do i create a grid of cards with angular material?

后端 未结 4 1618
有刺的猬
有刺的猬 2021-02-19 06:06

I am trying to create a grid of three cards per row using ng-repeat. I have a normal array of javascript objects attached to the scope. The code below will create a fresh row fo

4条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2021-02-19 06:30

    You can use class="grid-container" for this. As an example a code snippet like this,

    CARD 1 CARD 2 CARD 3

    Will produce an output similar to this.

提交回复
热议问题