I discovered a CSS gallery code, and wished to attempt working it alone to see if it really labored. The code is Moodboard with Masonry by shinya1992 on codepen. I copy and pasted all of the code and ran it, and I anticipated the end result I would see within the preview of the beforehand linked code (a nicely spaced gallery). This was not what appeared.
I did get a gallery of pictures, however there is a disproportionate quantity of house between the primary picture and the one within the row beneath it, and there is no house between the pictures.
I attempted to repeat and paste all of the code concerned within the authentic code to my finest potential to see if this was merely a problem with the way in which I would put down the code, however after testing, I do not assume that is the case.
I’ve seen the identical code sampled somewhere else with no points.
I am curious if this code requires an lively website to show correctly or one thing like that? Or its an issue with the picture dimension?