Hi,
I have a requirement like image shown below. the listing is to show the favorites of the person.
The blue tiles need to be filled up with content. The gray tiles are static tiles.
Few things which should be considered are
1. There should be max of 6 tiles as shown there(Dataset might return huge of data).
2. How should I hide the blue tiles if there is no data.(Let us say there are only 3 in result set. so that big tile and small two tiles below it will be remained and remaining will be hidden so that the gray tiles move to left).
Please help me out in choosing the correct way to implement.
I have tried using -ms-grid attributes. But the problem will be in hiding. Even though I hide the blue tile the space will remain as is.(i.e the tiles in gray wont move to left).

Could some one please help me to make my design flexible.
Thanks & Regards Tejaswi Chandrapatla