V
V
Vlad Revuk2015-09-27 02:35:03
css
Vlad Revuk, 2015-09-27 02:35:03

How to center vertically with blocks of unknown heights?

There is a site with 4 blocks that are for the entire height and width of the screen, they change by scrolling. The skin block has a footer and a header of different heights, how to align the main content between these blocks in the middle of the vertical, so that it would be displayed in the middle on different monitors

Answer the question

In order to leave comments, you need to log in

2 answer(s)
L
lavezzi1, 2015-09-27
@lavezzi1

https://css-tricks.com/centering-css-complete-guide/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question