R
R
Roman Tuzov2020-04-22 19:36:03
css
Roman Tuzov, 2020-04-22 19:36:03

Why is the block not made on the whole page?

Why does the block not want to fit the full height of the page and how to do it? I thought it already happened, without scrolling you can see that it really became the entire height of the screen, but as it scrolled down, it’s clear that it broke off there.
The code

.bg-img-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    min-height: 100%;
    height: 100%;
    width: 100%;
    min-width: 100%;
    overflow: hidden;
}

-_4QkIW-P88.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Froggyweb, 2020-04-22
@Froggyweb

Pictures that don't make sense decoration should be done through backgraund css

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question