P
P
Peter2020-05-04 12:59:57
css
Peter, 2020-05-04 12:59:57

Why can't I put a block in the center?

Good afternoon. Can you please tell me how to put the block in the center?
There are three elements in the header. Which I placed using flex.
Following the layout is the title, I put it in the center. But I noticed such a strange thing that the block in the header, which should be in the center, is slightly shifted for some reason, why is this happening?
Sandbox code.
The phone number and section name do not match. If I leave only the phone number in the code, and give it to him, then it exactly matches the bottom heading.
justify-content:center

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question