arielsalminen / TinyNav.js

Responsive navigation plugin that weighs just 443 bytes
http://tinynav.viljamis.com/
635 stars 207 forks source link

Optionally include tinynav select before default menu in dom #74

Open JoeHana opened 9 years ago

JoeHana commented 9 years ago

This would make it easier to hide affected menus at certain breakpoints with only CSS, without the need to specifically target them:

.tinynav + menu {display: none;}

This is especially useful if tinynav gets used for multiple menus on a site and/or if not all menus act the same on all breakpoints.