educative.io

Educative

Flexbox alignment

how to add spaces between elements to whom justify-content property has already been applied to?

@Kapil_Jain You can use justify-content: space-between, justify-content: space-around, and justify-content:space-evenly, but this will create space of default value. If you want to add spaces of your own choice, you can use margin.