Angular 4 mat-grid-list列响应

时间:2017-10-24 11:51:11

标签: angular material-design angular-material

如何在手机屏幕上使列号等于1?如何使此代码列屏幕响应?提前致谢

 <mat-grid-list cols="3" rowHeight="100px">
  <mat-grid-tile colspan="1" rowspan="1">
    <button mat-button="primary">
      <mat-icon>delete</mat-icon>
      some text
    </button>
  </mat-grid-tile>
    <mat-grid-tile colspan="1" rowspan="1">
      <button mat-button="primary">
        <mat-icon>delete</mat-icon>
        some text
      </button>
    </mat-grid-tile>
    <mat-grid-tile colspan="1" rowspan="1">
      <button mat-button="primary">
        <mat-icon>delete</mat-icon>
        some text
      </button>
    </mat-grid-tile>
  </mat-grid-list>

0 个答案:

没有答案