semantic自适应头部菜单导航条效果代码

代码语言:html

所属分类:菜单导航

代码描述:semantic自适应头部菜单导航条效果代码

代码标签: semantic 导航 菜单 自适应

下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开

<!DOCTYPE html>

<html lang="en">

<head>

    <meta charset="UTF-8">
    <link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/semantic.min.css">


    <style>
        .ui.collapsible.menu {
          display: inline;
        }
        @media screen and (max-width: 768px) {
          .ui.collapsible.menu {
            display: block;
          }
        }
        .ui.collapsible.menu .header .button {
          margin: 0.5em;
          display: none;
        }
        @media screen and (max-width: 768px) {
          .ui.collapsible.menu .header .button {
            display: block;
          }
        }
        @media screen and (max-width: 768px) {
          .ui.collapsible.menu .content {
            display: none;
          }
        }
        @media screen and (max-width: 768px) {
          .ui.collapsible.menu .content .item, .ui.collapsible.menu .content .menu {
            display: block;
            float: none;
            clear: both;
          }
        }
        
        .description.view {
          margin: 60px 1%;
        }
    </style>



</head>

<body>
    <div class="ui top fixed inverted collapsible menu">
        <div class="container">
            <div class="header"><a class="left floated item brand">Collapsible-Menu</a>
                <div class="ui mini right floated button"><i class="list icon"></i></div><a class="right floated item">Other</a>
            </div>
            <div class="content"><a class="left floated item">One<.........完整代码请登录后点击上方下载按钮下载查看

网友评论0