Reputation: 5757
I am using Material
with Angular 6
. I want to make my website responsive.
What is the best option for this? I don't want to use Bootstrap
, if I find anything better from Material
.
Upvotes: 0
Views: 2642
Reputation: 17918
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.
Upvotes: 1