DEV Community

Discussion on: Creating a Floating Icon Menu

Collapse
 
dealloc profile image
Wannes Gennar

You could very well build this using Flex as well.
Make your body the flex container with flex direction set to column, have the content in an element that has flex grow, and then the the footer with the icons will always be kept at the bottom.

If you'd like the menu to stay on the screen at all times, make the content element scrollable, and it'll maintain it's height to screen height (minus the footer).

Unfortunately I'm not at my computer at the moment so I can't whip up the exact code samples.