CodeMonument @codemonument.com · Dec 12

I have a great understanding of flexbox. But I couldn't make my brain remember how the properties are called for aligning things in grid! And now I saw this cheatsheet here and it even fits on one screenshot!

0 likes 1 replies

?

Replies

CodeMonument · Dec 12

The systematic (for grid) is: Prefix "justify": always aligns something on horizontal axis Prefix "align": always aligns something on vertical axis "-content": align the cell containers "-items": align the elements INSIDE the containers.