Touch Friendly, CSS only Responsive Menu
This approach provides a touch friendly responsive menu without needing to rely on javascript for exposing secondary navigation on mobile devices.
Pros
-
No Mo' JS
- Does not rely on javascript or jQuery
-
Isolated Behaviors
- Media queries isolate the two different opening behaviors
-
Sexy Animations
- CSS animations work regardless of the number of list items
-
Lean
- Use of icon font means less http requests
Cons
-
:Target jumpiness
- The :target pseudo selector will "jump" down to the targeted element, which might not be the desired effect
-
Not 100% tested
- Needs to be tested on more devices including feature phones
-
Not 100% finished
- Tertiary navigation solution for mobile not explored yet
I hope to put this design into production on a future project, so any feedback is appreciated. Feel free to contact me on twitter @
micahgodbolt