Jeeten Parmar
Jeeten Parmar

Reputation: 5757

Responsive Material Design

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

Answers (1)

G. Tranter
G. Tranter

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

Related Questions