Blogger Information
Blog 34
fans 0
comment 0
visits 32154
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
仿bootcss.com , bootstrap中文网首页,使用navbar导航条, 巨幕,缩略图等组件完成。
Belifforz的博客
Original
1043 people have browsed it

实例

<!doctype html>
<html lang="zh-Hans">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="../dist/css/bootstrap.css">
    <script src="../dist/js/jquery.js"></script>
    <script src="../dist/js/bootstrap.js"></script>
</head>
<body>
<div class="nav navbar-nav navbar-inverse navbar-fixed-top">
    <div class="container">
            <ul class="nav navbar-nav">
                <li><a href="#">Bootstrap中文网</a></li>
                <li><a href="#">Bootstrap2中文文档</a></li>
                <li><a href="#">Bootstrap3中文文档</a></li>
                <li><a href="#">Bootstrap4中文文档</a></li>
                <li><a href="#">Less 教程</a></li>
                <li><a href="#">jQuery API</a></li>
                <li><a href="#">网站实例</a></li>
            </ul>
        <ul class="nav navbar-nav navbar-right">
            <li><a href="#">关于</a></li>
        </ul>
    </div>
</div>
<div class="jumbotron masthead" style="background: linear-gradient(45deg,#020031 0,#6d3353 100%);margin-bottom:0">
    <div class="container">
        <h1 class="text-center" style="color:white;font-weight:bolder;font-size:100px;margin-top:80px;">Bootstrap</h1>
        <h2 class="text-center" style="color:white;">简洁、直观、强悍的前端开发框架,让web开发更迅速、简单。</h2>
        <p style="height:20px;"></p>
        <p class="text-center"><button type="button" class="btn btn-primary btn-lg">Bootstrap3中文文档(v3.3.7)</button></p>
        <p class="text-center"><a href="" style="color:lightgrey;font-size: 1rem">Bootstrap2中文文档(v2.3.2)</a></p>
    </div>
</div>
<div class="container-fluid" style="background-color:#F4F4F4;font-size:1.5rem;padding:15px 0;">
    <div class="row">
        <ul class="col-md-6 col-md-offset-5" style="list-style: none;">
            <li style="display: inline-block;"><a href=""  style="color:grey"><span class="glyphicon glyphicon-hand-right" ></span>Bootstrap问答社区</a></li>
            <li style="display: inline-block"><span>|</span></li>
            <li style="display: inline-block;"><a href="" style="color:grey"><span class="glyphicon glyphicon-hand-right"></span>新浪微博:@Bootstrap中文网</a></li>
        </ul>
    </div>
</div>
<div class="container text-center">
    <div class="row">
        <div class="col-md-12 ">
            <h1>Bootstrap相关优质项目推荐</h1>
        </div>
    </div>
    <div class="row" style="border-bottom:1px solid grey;margin-bottom:10px;">
        <div class="col-md-12">
            <h6>这些项目或者是对Bootstrap进行了有益的补充,或者是基于Bootstrap开发的</h6>
        </div>
    </div>
</div>
<div class="container"">
    <div class="row" style="height: 336px;">
        <div class="col-md-3 ">
            <a href="" class="thumbnail">
                <img src="https://assets.bootcss.com/www/assets/img/expo.png?1538258916888" alt="">
            </a>
            <div class="caption text-center">
                <h3>优站精选<br>
                <small>Bootstrap 网站实例</small>
                </h3>
                <p >Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>
        <div class="col-md-3">
            <a href="" class="thumbnail">
                <img src="https://assets.bootcss.com/www/assets/img/webpack.png?1538258916888" alt="">
            </a>
            <div class="caption text-center">
                <h3>Webpack<br>
                    <small>是前端资源模块化管理和打包工具</small>
                </h3>
                <p>Webpack 是当下最热门的前端资源模块化管理和打包工具。它可以将许多松散的模块按照依赖和规则打包成符合***环境部署的前端资源。</p>
            </div>
        </div>
        <div class="col-md-3 ">
            <a href="" class="thumbnail">
                <img src="https://assets.bootcss.com/www/assets/img/react.png?1538258916888" alt="">
            </a>
            <div class="caption text-center">
                <h3>React<br>
                    <small>用于构建用户界面的 JavaScript 框架</small>
                </h3>
                <p>React 起源于 Facebook 的内部项目,是一个用于构建用户界面的 JavaScript 库。</p>
            </div>
        </div>
        <div class="col-md-3 ">
            <a href="" class="thumbnail">
                <img src="https://assets.bootcss.com/www/assets/img/typescript.png?1538258916888" alt="">
            </a>
            <div class="caption text-center">
                <h3>TypeScript <br>
                    <small>中文手册</small>
                </h3>
                <p>TypeScript 是由微软开源的编程语言。它是 JavaScript 的一个超集,而且本质上向这个语言添加了可选的静态类型和基于类的面向对象编程。</p>
            </div>
        </div>
    </div>
</div>
</body>
</html>

运行实例 »

点击 "运行实例" 按钮查看在线实例


Correction status:Uncorrected

Teacher's comments:
Statement of this Website
The copyright of this blog article belongs to the blogger. Please specify the address when reprinting! If there is any infringement or violation of the law, please contact admin@php.cn Report processing!
All comments Speak rationally on civilized internet, please comply with News Comment Service Agreement
0 comments