Started exploring Angular 4 last night and I was just wondering if there is a way to make the mat-grid-list material design component responsive as easy as how Boostrap handles it?
Anyone? Thank you in advanced.
Not in pure html, you could find some html/ts solution though, something like this
If you want to achieve this only with html, take a look at the Angular Flex Layout framework instead of mat-grid-list.
grid-listis already responsive; the height/width of each tile is dynamic based on the screen ratio. if you want the number of cols/rows to be dynamic, that is easily controlled in CSS.mat-grid-listis already responsive. In case you want change cols value, you can write the code to detect screen size and set column number based on that.