W
W
wOneBvll2020-04-14 05:04:41
css
wOneBvll, 2020-04-14 05:04:41

I need to push the element to the bottom of the block, while all other content should be pushed to the top, how to do this?

I’ve been trying to get out for 2 days now, I just can’t figure out how to press the last element to the bottom of the parent so that the rest of the content does not move (is pressed to the top)
I don’t even understand how to formulate the question correctly, but I would be very grateful if someone could help

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Fin Del, 2020-04-14
@wOneBvll

.item-bottom {
  margin-top: auto;
}
and that's it

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question