So I'm having some real troubles trying to design a responsive website. The problem comes from the fact that I am using the vh
unit, that sets some of my div
to 100% of the viewport height.
While this works perfectly fine on desktop, my issue is that the viewport on mobile actually changes :
vh
unit re-adapt and makes everything slide a little (which is really not good-looking when you're scrolling down).So basically, if the user slides up and down on my website, this issue will make it's experience way worse than it should.
Is there any solution that allows me to set my div
too full viewport dimensions without allowing things to resize / adapt to the things that resize ?
Ok. Let's work around this. I know only 2 solutions in this situation.
transition: height 1000000000000000s
. Who will be so located on the page to see it? )If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With