Put in order · HTML and CSS course · Module 4: Flexbox

CSS Rule for Centering Elements

Arrange the CSS rule that distributes navigation items with equal spacing using Flexbox:

Items to put in order

  • display: flex;
  • .nav {
  • }
  • justify-content: space-between;

You can check the correct answer by solving this task in the CodeWorlds game.