M
M
Mars152020-04-28 21:35:42
css
Mars15, 2020-04-28 21:35:42

How to align the elements in the header vertically?

I’ll be brief, I’m learning to type according to layouts, I can’t make the elements in the header be like on the layout in the center perpendicularly (I know how to scatter them along, don’t pay attention that they are at the beginning of the line). Yes, and a hat with some then got off. Here is the layout:
5ea879377a1d0208837653.png
the code and what it does, marked the places where the cap comes off with arrows:
5ea876805b14e941350054.png
5ea87654f32f9733062997.png
5ea87666aa593112609649.png
I'm sure the solution is simple, but I can't find it, please help.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Peter, 2020-04-28
@Mars15

Try
align-items:center;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question