小编tbo*_*onz的帖子

我正在尝试在bulma css上使用汉堡菜单,但它不起作用.怎么了?

我是bulma css http://bulma.io/的新手.

我正在尝试为移动用户使用汉堡包菜单.我只是按照这个页面上的说明操作:http://bulma.io/documentation/components/nav/

但它不起作用.我应该添加什么?

实际上,我可以看到汉堡包菜单,但是当我点击它时它不起作用.

谢谢.

<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
        <title>test</title>

        <link rel="stylesheet" href="css/bulma.min.css">
        <link rel="stylesheet" href="css/custom.css">
    </head>
    <body>
        <section class="hero is-fullheight is-primary is-bold">
            <!-- Hero header: will stick at the top -->
            <div class="hero-head">
                <header class="nav">
                    <div class="container">
                        <div class="nav-left">
                            <a class="nav-item" href="/">
                                <img src="img/logo.png" alt="Logo">
                            </a>
                        </div>
                        <span class="nav-toggle">
                            <span></span>
                            <span></span>
                            <span></span>
                        </span>
                        <div class="nav-right nav-menu">
                            <a class="nav-item" href="/about">
                                About
                            </a>
                            <a class="nav-item" href="/path">
                                Path
                            </a> …
Run Code Online (Sandbox Code Playgroud)

html css nav bulma

16
推荐指数
3
解决办法
2万
查看次数

标签 统计

bulma ×1

css ×1

html ×1

nav ×1