
Anonymous A. answered 11/26/19
CSS Expert with 10+ years of experience
Hello,
It depends on how you're implementing the submenus, but it's a common practice to use `position: absolute;` for them, just make sure their parent container has `position: relative;`, that way they will always remain near that parent container, hence, remain within the viewport.
If you need assistance with this just let me know, I'd be glad to help.
Regards.