home
search
logout
Positioning items
In addition to using the justify-content
property to
position items along the main axis, you can use the margin
property of the items to create a gap between them.
Use the developer tools to inspect the box above.
Inspect the first item and add a margin-right: auto
. Remove it.
Inspect the second item and add a margin-left: auto
. Remove it.
Inspect the third item and add a margin-left: auto
.