{"id":21081,"date":"2013-04-17T10:19:35","date_gmt":"2013-04-17T17:19:35","guid":{"rendered":"http:\/\/css-tricks.com\/?page_id=21081"},"modified":"2022-09-22T12:03:22","modified_gmt":"2022-09-22T19:03:22","slug":"justify-content","status":"publish","type":"page","link":"https:\/\/css-tricks.com\/almanac\/properties\/j\/justify-content\/","title":{"rendered":"justify-content"},"content":{"rendered":"\n

The justify-content<\/code> property is a sub-property of the Flexible Box Layout module<\/a>.<\/p>\n\n\n\n

It defines the alignment along the main axis. It helps distribute extra free space leftover when either all the flex items on a line are inflexible, or are flexible but have reached their maximum size. It also exerts some control over the alignment of items when they overflow the line.<\/p>\n\n\n\n

The justify-content<\/code> property accepts five different values:<\/p>\n\n\n\n