{"id":21073,"date":"2013-04-11T11:00:42","date_gmt":"2013-04-11T18:00:42","guid":{"rendered":"http:\/\/css-tricks.com\/?page_id=21073"},"modified":"2022-09-28T13:43:59","modified_gmt":"2022-09-28T20:43:59","slug":"align-items","status":"publish","type":"page","link":"https:\/\/css-tricks.com\/almanac\/properties\/a\/align-items\/","title":{"rendered":"align-items"},"content":{"rendered":"\n

The align-items<\/code> property is related to CSS layout. It effects how elements are aligned both in Flexbox<\/a> and Grid<\/a> layouts.<\/p>\n\n\n\n

.container {\n  display: flex;\n  align-items: flex-start;\n}<\/code><\/pre>\n\n\n\n