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

Flexbox CSS Rule Structure

Arrange the CSS rule that centers elements inside a Flexbox container:

Items to put in order

  • }
  • justify-content: center;
  • .container {
  • display: flex;

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