A demontstration of using a CSS environment variable to better space a footer menu.

When viewed on an iPhone without a home button, there will be additional padding at the bottom. There is plenty of empty space below, so scroll down to hide the menu bars and see the difference.

Environment variable value:

Read more: CSS environment variables.

Right click and view source to see the CSS.