-
Revsiting CSS grid again
- aligning all grid child elements:
justify-items- will justify an individual grid child child to eitherstart,endorend, by default it isstretchalign-itemscan move an grid child on the y axis with same properties , but also supportscenter
- aligning all grid child elements:
-
aligning the entire grid container
justify-content-same properties , but also supportspace-around,space-evenlyandspace-betweenalign-content- same properties
-
child css grid element properties
align-selfjustify-selfplace-self- combines both above 1st arg is vertical a.k.aalignsecond arg is horizontal a.k.ajustify