I don't think there is a right or wrong answer to that question. I've always used 100% without any dramas, but I'd imagine that if I changed all instances of 100% to 100vw it would be fine.
If i dont specify my body to 100vh and 100vw why some width: 100%; and height: 100%; wont work?
Is there a way to make my body always 100% height and 100% width?
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I don't think there is a right or wrong answer to that question. I've always used 100% without any dramas, but I'd imagine that if I changed all instances of 100% to 100vw it would be fine.
If i dont specify my body to 100vh and 100vw why some width: 100%; and height: 100%; wont work?
Is there a way to make my body always 100% height and 100% width?