100vh in css that doesnt scale code example
Example: css vw not working on mobile
//In your js file:
window.addEventListener('resize', () => {
document.querySelector(':root').style
.setProperty('--vw', window.innerWidth/100 + 'px');
})
//Css
width: calc(100 * var(--vw));