I
I
Ingerniated2018-02-14 14:58:20
css
Ingerniated, 2018-02-14 14:58:20

How to get rid of scrolling from below?

Good afternoon, tell me how you can get rid of scrolling from the bottom while having 100% block width and 100% height?
https://jsfiddle.net/2wcnfh9o/3/

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Evgeny Zaharov, 2018-02-14
@Ingernirated

Set the width as a percentage. Instead of 100vw - 100%. It's also better to set the height as a percentage. To do this, you just need to add:

html,
body {
  height: 100%;
}

D
Dymok, 2018-02-14
@UnluckySerivelha

So? https://jsfiddle.net/t48s91bj/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question