用于折叠和折叠的侧边栏菜单的 css [英] css for a sidebar menu that folds in and out
问题描述
我一直在寻找有关如何为可以折叠的网站制作简单侧边栏菜单的教程通过单击侧边栏菜单旁边的主页按钮退出,就像通过单击汉堡包图标在应用程序中打开主菜单的方式一样.我真的找不到我要找的东西,也许我没有使用正确的术语.
i've been looking around for tutorials on how to make a simple sidebar menu for a site that can fold in & out by clicking on a home button next to the sidebar menu, much like how main menus are opened in apps by clicking on a hamburger icon. I can't really find what i'm looking for, maybe i'm not using the right terminology.
感谢任何帮助,谢谢
B
推荐答案
不确定您想要什么样的解决方案,纯 CSS、JS、jQuery 等,但这里有一些链接可以帮助您入门.
Not sure what kind of solution do you want, pure CSS, JS, jQuery etc but here are some links to get you started.
尝试搜索css滑出侧边栏"或类似的内容
Try searching for "css slide out sidebar" or something along those lines
jQuery 示例
http://www.hongkiat.com/blog/building-mobile-app-navigation-with-jquery/
http://tympanus.net/codrops/2013/07/30/google-nexus-website-menu/
CSS 示例
http://css-tricks.com/off-canvas-menu-with-css-target/
这篇关于用于折叠和折叠的侧边栏菜单的 css的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!