Closed MalikZohaib closed 5 years ago
Your calculation for width is incorrect, Use 30px (for 3 x gutters ie n-1), instead of 20px, so:
width: calc((100% - 30px)/4);
yes its working fine now.. Thanks for the correction.
np, happy tiling :)
Test case: https://codepen.io/anon/pen/yZEBXQ?selected_tag=masonry&