I
I
Ivan Koretsky2020-05-08 16:51:45
css
Ivan Koretsky, 2020-05-08 16:51:45

How to auto-indent a block?

Greetings!

There is a copyright and you need to make sure that it automatically moves to the very bottom.
margin-top: auto doesn't work for some reason. On different pages there is a different height of the top block, so you need the copyright to automatically fly to the very bottom on its own.

Thank you in advance!
5eb5639321933556867041.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel, 2020-05-08
@Ivanchela

roughly - body in flex, height 100%, content block flex-grow: 1;
More precisely, already with the layout ...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question