html - 角按钮屏幕
问题描述
我有一个div
包含一堆按钮的。我目前看起来像图像,但我无法让它们也彼此相邻。它看起来像一整列。我想每行有 20 个小按钮(我目前有 1000 个按钮)。如何使它们在 Angular 中按行和按列均匀分布?
HTML:
<div fxLayout="column wrap" fxLayoutGap="30px" fxLayoutAlign="start center" class="mat-elevation-z2 responsive-grid">
<button mat-button class="green fuse-white-fg"
*ngFor="let prm of cell">{{prm.LocationReference}}</button>
</div>
解决方案
推荐阅读
- javascript - Tampermonkey,根据行数单击按钮 x 次
- html - 如何使网站内容在右侧边栏之后?
- amazon-web-services - Flask - SQLite3 部署
- reactjs - 如何更改我也作为道具收到的组件的道具?
- java - Java Selenium 错误:NoClassDefFoundError:org/openqa/selenium/HasAuthentication
- java - 设备主题模式确实会阻止应用主题模式。安卓工作室 Java
- google-apps-script - 在 Google 表格的不同列上检查最大值和最小值
- sql-server - 在权限链的情况下拒绝不优先?
- r - X轴为年月的ggplot
- java - 如何防止测试中违反参照完整性约束?