@xphstos
Posted
Nice work! Great effort overall!
I just want to clarify that there's no "wrong" way to approach things, especially when it comes to CSS. It's rare for a CSS solution that visually matches the design to be considered incorrect.
That said, one thing you might want to consider is using grid in your .layout-grid
element.
Here's a tip: You can create a 3x2 grid where the first and last cards span across 2 rows on desktop. This way, you won't need the 3 .col
elements.
Marked as helpful
@xphstos, thank you 🙏 for the great suggestion and looking at the code so carefully. I implemented what you suggested and got rid of the .col
divs. I think the solution is much cleaner this way. I appreciate it.
@xphstos
Posted
@elisilk Glad I could help. Grid a bit tricky but once you get the grasp of it, the possibilities are endless.