Align an Item Horizontally using justify-self
Summary
- The content of each item is located in a box referred to as a cell.
- The
justify-self
property is used to align a content’s position within its cell horizontally. stretch
: Content will fill the width of the cell. start
: aligns the content at the left of the cell. center
: aligns the content in the center of the cell. end
: aligns the content at the right of the cell.
Final Code