Responsive Navigation Bars

The w3-mobile class defines responsive elements.

On medium and large screens (tablets and desktops), the bar items will appear side by side horizontally. On smalls screens (smartphones), the items are vertically and centered:

Resize the browser window to see the effect.

Default navigation bar:

v0.0.2 [..] Link 2 Link 3

Responsive navigation bar:

Home Link 1 Link 2 Link 3