I'm trying to set #app to 100% height, can't make it happen. Is div #app not considered a child of Body? i have this problem everytime, and everytime I have to work around in a different way.
Is there a way to completely avoid this to happen ? CSS:
* {
margin: 0;
padding: 0;
font-family: "Nunito";
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
html {
height: 100%;
}
body {
transition: background 0.25s ease-in-out;
min-height: 100%;
}
#app {
max-height: 100%;
min-width: 100%;
position: relative;
}
You can use viewport height units for this issue, they work in terms of the height of the overall viewport.
#app {
height: 100vh;
}
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