您好,欢迎访问代理记账网站
  • 价格透明
  • 信息保密
  • 进度掌控
  • 售后无忧

学习响应式BootStrap来写融职教育网站,Bootsrtap第三天nav布局

nav导航布局

<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <meta charset="UTF-8">
    <title>融职教育</title>
    <!--    移动设备优先-->
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

    <!--    引入bootstrap CSS-->
    <link rel="stylesheet" href="css/bootstrap.min.css">

</head>
<body>
<!--顶部导肮开始-->
<nav>
    <div class="container">
        <div class="row">
            <div class="col shadow-sm">
                <nav class="navbar p-1 navbar-expand-lg navbar-light bg-white">
                    <a class="navbar-brand navbar-toggler border-0" href="#">
                        <img src="img/logo.png" class="img-fluid" style="max-width: 90px" alt="">
                    </a>
                    <button class="navbar-toggler" type="button" data-toggle="collapse"
                            data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent"
                            aria-expanded="false" aria-label="Toggle navigation">
                        <span class="navbar-toggler-icon"></span>
                    </button>

                    <div class="collapse navbar-collapse" id="navbarSupportedContent">
                        <ul class="navbar-nav mr-auto">
                            <li class="nav-item active">
                                <a class="nav-link"
                                   style="padding-left: 25px; background: url('img/hl.png') no-repeat 0 center;"
                                   href="#">融职教育<span class="sr-only">(current)</span></a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link"
                                   style="padding-left: 25px; background: url('img/llt.png') no-repeat 0 center;"
                                   href="#">学习园地</a>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link"
                                   style="padding-left: 25px; background: url('img/zzt.png') no-repeat 0 center;"
                                   href="#">智校云</a>
                            </li>
                            <li class="nav-item dropdown">
                                <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button"
                                   data-toggle="dropdown" aria-expanded="false">
                                    培养模式
                                </a>
                                <div class="dropdown-menu" aria-labelledby="navbarDropdown">
                                    <a class="dropdown-item" href="#">Action</a>
                                    <a class="dropdown-item" href="#">Another action</a>
                                    <div class="dropdown-divider"></div>
                                    <a class="dropdown-item" href="#">Something else here</a>
                                </div>
                            </li>
                            <li class="nav-item dropdown">
                                <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button"
                                   data-toggle="dropdown" aria-expanded="false">
                                    培养方向
                                </a>
                                <div class="dropdown-menu" aria-labelledby="navbarDropdown">
                                    <a class="dropdown-item" href="#">Action</a>
                                    <a class="dropdown-item" href="#">Another action</a>
                                    <div class="dropdown-divider"></div>
                                    <a class="dropdown-item" href="#">Something else here</a>
                                </div>
                            </li>
                            <li class="nav-item">
                                <a class="nav-link disabled" href="#" tabindex="-1" aria-disabled="true">
                                    Web全栈就业班 <i class="mark text-danger">¥9800</i> <s>¥19800</s>
                                </a>
                            </li>
                        </ul>
                        <div class="form-inline my-2 my-lg-0 nav-item dropdown">
                            <a style="padding-left: 25px; background: url('img/wx.jpg') no-repeat 0 center;" class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button"
                               data-toggle="dropdown" aria-expanded="false">
                                咨询微信
                            </a>
                            <div class="dropdown-menu" aria-labelledby="navbarDropdown">
                                <a class="dropdown-item" href="#">Action</a>
                                <a class="dropdown-item" href="#">Another action</a>
                                <div class="dropdown-divider"></div>
                                <a class="dropdown-item" href="#">Something else here</a>
                            </div>
                        </div>
                    </div>
                </nav>
            </div>
        </div>
    </div>
</nav>
<!--顶部导肮结束-->

<!--头部开始-->
<header class="mt-4">
    <div class="container">
        <div class="row">
            <div class="col">LOGO</div>
            <div class="col">SLOGEN</div>
            <div class="col">TOOL BTN</div>
        </div>
    </div>
</header>
<!--头部结束-->

<!--轮播图开始-->
<section class="mt-4">
    <div class="container">
        <div class="row">
            <div class="col">
                轮播图
            </div>
        </div>
    </div>
</section>
<!--轮播图结束-->

<!--你的收获开始-->
<section class="mt-4">
    <div class="container">
        <div class="row">
            <div class="col">
                <div>
                    <h4 class="d-inline-block">你的收获</h4>
                    <small class="text-muted pl-2">掌握的是一门就业的技术,为成长积蓄力量</small>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-4 col-sm-4 col-md"></div>
            <div class="col-4 col-sm-4 col-md"></div>
            <div class="col-4 col-sm-4 col-md"></div>
            <div class="col-4 col-sm-4 col-md"></div>
            <div class="col-4 col-sm-4 col-md"></div>
            <div class="col-4 col-sm-4 col-md"></div>
        </div>
    </div>
</section>
<!--你的收获结束-->

<!--关注我们开始-->
<section class="mt-4">
    <div class="container">
        <div class="row">
            <div class="col">
                <div>
                    <h4 class="d-inline-block">关注我们</h4>
                    <small class="text-muted pl-2">掌握的是一门就业的技术,为成长积蓄力量</small>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 col-lg-8"></div>
            <div class="col-sm-12 col-lg-4"></div>
        </div>
    </div>
</section>
<!--关注我们结束-->

<!--成长平台开始-->
<section class="mt-4">
    <div class="container">
        <div class="row">
            <div class="col">
                <div>
                    <h4 class="d-inline-block">成长平台</h4>
                    <small class="text-muted pl-2">掌握的是一门就业的技术,为成长积蓄力量</small>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-1"></div>
            <div class="col"></div>
            <div class="col"></div>
        </div>
        <div class="row">
            <div class="col-1"></div>
            <div class="col-2"></div>
            <div class="col"></div>
            <div class="col"></div>
            <div class="col-2"></div>
            <div class="col-1"></div>
        </div>
        <div class="row">
            <div class="col"></div>
        </div>
    </div>
</section>
<!--成长平台结束-->

<!--培养模式开始-->
<section class="mt-4">
    <div class="container">
        <div class="row">
            <div class="col">
                <div>
                    <h4 class="d-inline-block">培养模式</h4>
                    <small class="text-muted pl-2">掌握的是一门就业的技术,为成长积蓄力量</small>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-1"></div>
            <div class="col-3"></div>
            <div class="col-4"></div>
            <div class="col-3"></div>
            <div class="col-1"></div>
        </div>
    </div>
</section>
<!--培养模式结束-->

<!--面授培训开始-->
<section class="mt-4">
    <div class="container">
        <div class="row">
            <div class="col">
                <div>
                    <h4 class="d-inline-block">面授培训</h4>
                    <small class="text-muted pl-2">掌握的是一门就业的技术,为成长积蓄力量</small>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-2"></div>
            <div class="col-2"></div>
            <div class="col-1"></div>
            <div class="col-3"></div>
            <div class="col-4"></div>
        </div>
        <div class="row">
            <div class="col-2"></div>
            <div class="col-2"></div>
            <div class="col-1"></div>
            <div class="col-3"></div>
            <div class="col-4"></div>
        </div>
        <div class="row">
            <div class="col-2"></div>
            <div class="col-2"></div>
            <div class="col-1"></div>
            <div class="col-3"></div>
            <div class="col-4"></div>
        </div>
        <div class="row">
            <div class="col-2"></div>
            <div class="col-2"></div>
            <div class="col-1"></div>
            <div class="col-3"></div>
            <div class="col-4"></div>
        </div>
    </div>
</section>
<!--面授培训结束-->

<!--实习目标开始-->
<section class="mt-4">
    <div class="container">
        <div class="row">
            <div class="col">
                <div>
                    <h4 class="d-inline-block">实习目标</h4>
                    <small class="text-muted pl-2">掌握的是一门就业的技术,为成长积蓄力量</small>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-sm-12 col-md-6"></div>
            <div class="col-sm-12 col-md-6"></div>
            <div class="col-sm-12 col-md-6"></div>
            <div class="col-sm-12 col-md-6"></div>
        </div>
    </div>
</section>
<!--实习目标结束-->

<!--你的总监开始-->
<section class="mt-4">
    <div class="container">
        <div class="row">
            <div class="col">
                <div>
                    <h4 class="d-inline-block">你的总监</h4>
                    <small class="text-muted pl-2">掌握的是一门就业的技术,为成长积蓄力量</small>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col-3"></div>
            <div class="col"></div>
        </div>
        <div class="row">
            <div class="col-12 col-sm-6 col-lg-3"></div>
            <div class="col-12 col-sm-6 col-lg-3"></div>
            <div class="col-12 col-sm-6 col-lg-3"></div>
            <div class="col-12 col-sm-6 col-lg-3"></div>
        </div>
    </div>
</section>
<!--你的总监结束-->

<!--对标培训开始-->
<section class="mt-4">
    <div class="container">
        <div class="row">
            <div class="col">
                <div>
                    <h4 class="d-inline-block">对标培训</h4>
                    <small class="text-muted pl-2">掌握的是一门就业的技术,为成长积蓄力量</small>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col"></div>
            <div class="col-2"></div>
            <div class="col"></div>
        </div>
        <div class="row">
            <div class="col"></div>
            <div class="col-2"></div>
            <div class="col"></div>
        </div>
        <div class="row">
            <div class="col"></div>
            <div class="col-2"></div>
            <div class="col"></div>
        </div>
        <div class="row">
            <div class="col"></div>
            <div class="col-2"></div>
            <div class="col"></div>
        </div>
        <div class="row">
            <div class="col"></div>
            <div class="col-2"></div>
            <div class="col"></div>
        </div>
        <div class="row">
            <div class="col"></div>
            <div class="col-2"></div>
            <div class="col"></div>
        </div>
        <div class="row">
            <div class="col"></div>
            <div class="col-2"></div>
            <div class="col"></div>
        </div>
        <div class="row">
            <div class="col"></div>
            <div class="col-2"></div>
            <div class="col"></div>
        </div>
        <div class="row">
            <div class="col"></div>
            <div class="col-2"></div>
            <div class="col"></div>
        </div>
        <div class="row">
            <div class="col"></div>
            <div class="col-2"></div>
            <div class="col"></div>
        </div>
    </div>
</section>
<!--对标培训结束-->

<!--工作环境开始-->
<section class="mt-4">
    <div class="container">
        <div class="row">
            <div class="col">
                <div>
                    <h4 class="d-inline-block">工作环境</h4>
                    <small class="text-muted pl-2">掌握的是一门就业的技术,为成长积蓄力量</small>
                </div>
            </div>
        </div>
        <div class="row">
            <div class="col"></div>
        </div>
    </div>
</section>
<!--工作环境结束-->

<!--页脚开始-->
<footer class="mt-4">
    <div class="container">
        <div class="row">
            <div class="col-sm-12 col-md-10"></div>
            <div class="col-sm-12 col-md-2"></div>
        </div>
    </div>
</footer>
<!--页脚结束-->


<!--先引入jQuery 在引入popper.js 最后在引入bootstrap.js-->
<script src="js/jquery-3.4.1.slim.min.js"></script>
<script src="js/popper.min.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>

本人邮箱 zeuskkk@163.com


分享:

低价透明

统一报价,无隐形消费

金牌服务

一对一专属顾问7*24小时金牌服务

信息保密

个人信息安全有保障

售后无忧

服务出问题客服经理全程跟进