E
E
Evgeny Petrov2018-02-26 22:12:25
css
Evgeny Petrov, 2018-02-26 22:12:25

How to move a block down?

5a945bcea72d9305068500.png
I made the header of the site fixed, after which the bottom block went up.
How to lower it down if there is no exact height of the cap? (the specific height is not specified, the height is set by padding)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Artem Vedishchev, 2018-02-27
@borgore

Something like this
https://jsfiddle.net/kwo8emox/9/
In continuation of twobomb 's answer

N
Nikolay, 2018-02-26
@nickolyashka

you can get the height through js on the header class, and indent + header height. even with padding you can measure the height. set the minimum height.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question