Screen Resolution

Hey guys, how can I do this ?

http://www.ativism.pt/#/home

If the browser window is below X it only appears 2 rectangles, below Y 3 rectangles and below Z 4 rectangles, how is it possible?

tks