ll.miniatyr.js reads the width and height of a container and calculates the sizes of a given number of child elements, so they can be perfectly displayed inside it as a grid system.
Resizing the page/container will automatically trigger the algorithm to recalculate the sizes of all child elements.
This makes ll.miniatyr.js a perfect plugin for creating dynamic grid systems that react to their viewport and don't break layouts when the browser is resized or the page is accessed from a device with a smaller viewport.
Requirements:
· JavaScript enabled on client side
· jQuery