I get an annoying problem If I choose 100 vh (or fixed position to cover the whole screen). Both options extends beyond the lower part of the browser (where the back button is).
The size seems to be based on the viewport height when neither the adress bar or the bottom bar is displayed. I of course want it to be based on the viewport as it is the moment I come to a full screen hero section or full screen navigation.
So do people just avoid full screen heros and navs on mobile or whats “the right thing to do”?
Also is there an easy way to tell me how I can try implementing those css tricks into Webflow? I’m kind of struggling with everything thats custom code.
I can’t say if people avoid or not full screen sections, I can talk for myself
I do not avoid them. Depends of course what is the content, and what interactions I have.
The CSS Tricks way needs to be tested in a Webflow project. I don’t know how and if it will work with the css that Webflow creates.
I just realized I got it to work the way I wanted on my portfoliosite. Almost at least. I could not get complete control of the distance between the hero and the next section. But I’m hoping no one will notice. Heres how that looks https://www.deluxestockholm.com/