How to understand which property to use for leveling unit?

Children often make up when you can't align the block at center try the text-align, margin: 0 auto, justify-content, how to understand when to use. You can just tell its recommendations on the use of these properties.
March 19th 20 at 09:14
1 answer
March 19th 20 at 09:16
Solution
text-align applies to the text in the text block
margin: 0 auto - can be applied to the unit.
justify-content - defines how a browser distributes the space between and around the block.

Find more questions by tags HTML