C
C
corrector252020-06-14 17:28:55
css
corrector25, 2020-06-14 17:28:55

Why doesn't align-items work?

Only justify-content works
Here is the code: https://codepen.io/Eva255/pen/GRoqqqj?editors=1100

PS All heights are commented out

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergei Chamkin, 2020-06-14
@Sergei1337

The align-items property aligns the flex items inside the container in a perpendicular direction.
And the cookie block has a height of 22
align-items: stretch; will stretch them in height

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question