now vh doesn't apply to view's height

couldn't be any better
No description
8 Replies
Jochem
Jochem3w ago
you know the drill, without code it's impossible to help you
Dev_HK
Dev_HKOP3w ago
i found out that position absolute alone doesn't help, you need to add a top:0 or some
Jochem
Jochem3w ago
absolute doesn't change the position without something like top, that's correct it's also very frequently not the best solution to a problem
Dev_HK
Dev_HKOP3w ago
?? what do you mean ?
Jochem
Jochem3w ago
position: absolute, especially for larger elements, is likely to cause responsiveness issues
Dev_HK
Dev_HKOP3w ago
i want it for the menu that'll come from the side the moment i hit that menu hamburger icon
ἔρως
ἔρως3w ago
position absolute simply removed it from the document flow and allows you to position it how you want then, you set the position you want
Mannix
Mannix3w ago
it would be better to set inset:0 instead of width and height if you want to cover the whole screen

Did you find this page helpful?