Off Canvas Layout For Twitter BootStrap

后端 未结 5 1411
庸人自扰
庸人自扰 2021-02-08 11:57

Is there any example of a \"Off Canvas\" layout using twitter bootstrap ?

I found one in Foundation and there is also this CSS3 Experiment but nothing for Twitter Bootst

相关标签:
5条回答
  • 2021-02-08 12:20

    Here is a generic example for "Off-Canvas" using twitter bootstrap:

    http://codepen.io/krichnafsky/full/cuhkL

    Feel free to use it. If you have any questions let me know.

    Thats not a bad solution. Fairly simple. I would just add

    html { overflow-x: hidden; }
    

    so it doesn't add a bottom scroll bar while viewing the menu. Shouldn't need a bottom scroll bar anyway using bootstrap responsive.

    0 讨论(0)
  • 2021-02-08 12:25

    I realize this question is old, but Twitter now includes an example of this with Bootstrap 3.0:

    http://getbootstrap.com/examples/offcanvas/

    0 讨论(0)
  • 2021-02-08 12:29

    This pull request at the official github repo might be what you're looking for

    0 讨论(0)
  • 2021-02-08 12:31

    Here is a generic example for "Off-Canvas" using twitter bootstrap:

    http://codepen.io/krichnafsky/full/cuhkL

    Feel free to use it. If you have any questions let me know.

    0 讨论(0)
  • 2021-02-08 12:46

    I also found another impressive link

    It would be great if I can get the collapsible menu to the right than the left

    0 讨论(0)
提交回复
热议问题