When making layout for a website, it often happens so that I need to use blocks of equal width but of different height, placed in a container of variable width.
Moreover, a filter may be applied to the "list" of blocks, showing or hiding list elements via JavaScript, and the filter should neither destroy the "rows" and the layout, nor leave holes in the layout, so table-based solutions cannot be used. Here's a very simple example — a goods catalog:
(
Read more
)