For a nicer look, I wanted this grid to be middle-aligned with respect to the paragraphs above and below it, but, at the same time, I wanted the thumbnails on the last row to be left-aligned with respect to the grid. One of the first things I used to dump on that blog were random photos from the city, so I had this idea about having a grid of thumbnails with a fixed size. Note that this is not a tutorial on how to best use CSS grid, but more of a walk through my own learning process. ![]() Specifically, it’s about how I found a solution to a long-running problem using a modern CSS grid technique that, in the process, gave me even cooler results than I originally imagined. This post is about a problem I encountered about a decade ago and, until recently, did not know how to solve in a smart way. ![]() However, other areas of CSS, such as layout, have remained a constant source of pain. Pretty soon, I was able to code cool things with more mathematical and, therefore, easier-to-understand features like transforms. ![]() I discovered CSS about a decade ago while trying to modify the look of a blog I had created.
0 Comments
Leave a Reply. |