vendredi 1 décembre 2023

What are the Best Practices for Managing Height in Mobile Web with CSS [closed]

What are the CSS standards and best practices for ensuring a mobile web page occupies the entire screen without requiring scrolling? How do these guidelines differ in the context of a PWA application where the presence of an address bar is not anticipated?

Typically, I employ 'height: 100vh' in the body or the main div of my Vue.js components to fill the entire viewport. However, I am unsure if this is the correct practice, as various sources provide differents solutions when I seek answers.

Aucun commentaire:

Enregistrer un commentaire