O
O
ObehanProger2020-04-24 08:58:20
css
ObehanProger, 2020-04-24 08:58:20

Why doesn't the align-items:end property work?

The content of the message_block container is still displayed at the top:

<div id="message_block">
  <p>Привет</p>
</div>

#message_block{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  height:100%;
  padding:5%;
  box-sizing: border-box;
}

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
A person from Kazakhstan, 2020-04-24
@ObehanProger

https://codepen.io/topicstarter/pen/VwvpeVq

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question