#
#
#FFFFFF2015-10-09 17:44:12
css
#FFFFFF, 2015-10-09 17:44:12

A layout with emulation of the same height of columns, a pressed footer and columns to the entire height of the screen - is it possible to make it up?

The layout looks like this:
cb7c27277f974dafa5fa24a78d7796c3.png
How to press the footer is understandable. To make the same height of the columns is also understandable.
QUESTION: is it possible to make the height of the columns adjust to the height of the screen?
It's a chore to bring your code, I would just like to find out if it's real, and maybe get some kind of tip.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
K
Kirill Kublyakov, 2015-10-09
@Kublyakov

Flexbox

I
Ivanq, 2015-10-09
@Ivanq

Yes, very real. You can write in CSS:

height: calc(100vh - 200px - 300px);
/* height: calc(100vh - высота header'а - высота footer'а) */

or
height: 75vh;
/* для header: */
height: 10vh;
/* для footer: */
height: 15vh;

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question