为什么到那个toogle的事件没有了?

来源:3-3 响应式布局之Bootstrap实际案例

咫尺天涯0123

2016-03-26 21:40

为什么到那个toogle的事件没有了?

写回答 关注

6回答

  • 用户1139579
    2017-06-28 09:17:13

    http://img.mukewang.com/595302d40001231207310165.jpg

    offcanvas.css

    @-ms-viewport     { width: device-width; }

    @-o-viewport      { width: device-width; }

    @viewport         { width: device-width; }

    /*

     * Style tweaks

     * --------------------------------------------------

     */

    html,body {overflow-x: hidden; /* Prevent scroll on narrow devices */}

    body {padding-top: 70px;}

    footer {padding: 30px 0;}

    /*

     * Off Canvas

     * --------------------------------------------------

     */

    @media screen and (max-width: 767px) {

      .row-offcanvas {position: relative;-webkit-transition: all .25s ease-out;-o-transition: all .25s ease-out;transition: all .25s ease-out;}

      .row-offcanvas-right {right: 0;}

      .row-offcanvas-left {left: 0;}

      .row-offcanvas-right

      .sidebar-offcanvas {right: -50%; /* 6 columns */}

      .row-offcanvas-left

      .sidebar-offcanvas {left: -50%; /* 6 columns */}

      .row-offcanvas-right.active {right: 50%; /* 6 columns */}

      .row-offcanvas-left.active {left: 50%; /* 6 columns */}

      .sidebar-offcanvas {position: absolute;top: 0;width: 50%; /* 6 columns */}

    }

  • 逸风4241167
    2016-12-11 22:39:06

    offcanvas.css没有找到

  • 小华123
    2016-07-12 16:28:41

    为什么点一下没有那个下拉导航呢

  • Aioria_
    2016-04-13 01:16:17

    要设置button的点击事件的,网页地址  http://v3.bootcss.com/examples/offcanvas/ ,查看源代码,加入offcanvas.css和offcanvas.js就可以了,前面几个人都只答对了一部分

    毕蜀锦

    顶上去,,,,,,,,终于成了,toggle nav那个按钮..............

    2018-03-10 16:36:10

    共 1 条回复 >

  • 一只喵__
    2016-04-11 14:14:08

    同问,为什么点一下没有那个下拉菜单呢

  • 用户1200007
    2016-03-28 14:17:39

    bootstrap组件作用

认识响应式布局

使用Bootstrap前端框架,本教程让网站兼容不同终端不再是梦

132105 学习 · 278 问题

查看课程

相似问题