S
S
Sergey K2022-03-23 14:30:29
Layout
Sergey K, 2022-03-23 14:30:29

How to position the header block absolutely, but at the same time it should not stretch in height to fill the whole screen?

How to position the header block absolutely, but at the same time it should not stretch in height to fill the whole screen?

https://sergei00026.github.io/lesson_11/

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Ankhena, 2022-03-23
@sergei026

Remove this bottom: 0;game from *

* {
    margin: 0;
    padding: 0;
    bottom: 0;
}

D
DanielTonne, 2022-03-23
@DanielTonne

Specify max-heightthe required

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question