Relative Content

Tag Archive for phphtmlmenuresponsive

Collapsing and displaying a menu using html php and javascript

This seemed like a good idea at the time. I’ve plodded along making fairly straightforward web sites in the past, but the more people use mobile devices, the more I need to be aware of distribution of screen real estate. Collapsing/expanding menus has been part of this new approach.
Further to this, I’ve started using a grid display. As someone with no sight, I find this makes a lot more sense to me, and on first impression, is much more approachable.
Currently, this is my css code:

Collapsing and displaying a menu using html php and javascript

This seemed like a good idea at the time. I’ve plodded along making fairly straightforward web sites in the past, but the more people use mobile devices, the more I need to be aware of distribution of screen real estate. Collapsing/expanding menus has been part of this new approach.
Further to this, I’ve started using a grid display. As someone with no sight, I find this makes a lot more sense to me, and on first impression, is much more approachable.
Currently, this is my css code: