So I am excited about the new masonry feature native to CSS as of what seems like just a few months ago. I've only found one tutorial that seems to be completely up to date: here
This tutorial includes a snippit on using the class feature
to span 2 columns in the masonry layout.
However. I cannot get his code to work simultaneously with A) the span and B) masonry layout. If I disable the grid-template-rows: masonry;
, I can get his spans to work. I don't see how he did it. Furthermore, I have copied his code and attempted to run it and had the same problem. I will add that on codepen, his class of feature
doesn't span 2 columns, either.
Admittedly this is only the second time I've done anything with CSS in 11 years so there's a very good chance I'm missing something obvious.