响应材料设计

时间:2018-06-04 10:34:26

标签: angular material-design angular-material

我正在使用Material Angular 6。我想让我的网站响应。
什么是最好的选择?如果我从Bootstrap找到更好的内容,我不想使用Material

1 个答案:

答案 0 :(得分:1)

Angular Flex-Layout is the most common choice for responsive design. You can find their responsive API docs here.

In flex-layout, you would use fxLayout and fxFlex according to your preferences to lay out a grid for each screen size. For example fxLayout="column" on the parent and fxFlex.lg="25%" on each of 4 children to lay out a 4 equal column grid for an 'lg' screen size.