0
votes

I using angular material mat card and angular flex layout to display a page of card list. I want to make it like pinterest to have a dynamic height of each card in every row . It that any way to achieve it by using flex layout or other method?

enter image description here Below I have a create a stackblitz of my code : stackblitz link

1

1 Answers

1
votes

You can try use this component https://github.com/wynfred/ngx-masonry to achieve the Pinterest layout you want. It support Angular 9 as well.