博客列表 >使用Bootstrap仿bootcss.com首页_2018年9月27日

使用Bootstrap仿bootcss.com首页_2018年9月27日

宋超的博客
宋超的博客原创
2018年10月06日 15:29:50938浏览

bootcss首页实例

<!doctype html>
<html lang="en">
<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">
    <link rel="stylesheet" href="https://staff.bootcss.com/npm/bootstrap@3.3.7/dist/css/bootstrap.min.css">
    <script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
    <script src="https://staff.bootcss.com/npm/bootstrap@3.3.7/dist/js/bootstrap.min.js"></script>
    <title>Document</title>
</head>
<body >
<div class="container-fluid">
    <div class="row">
        <div class="col-lg-12" style="padding: 0;margin: 0;">
            <nav class="navbar navbar-default navbar-inverse navbar-fixed-top" style="border-radius: 0;padding: 0; margin: 0;">
                <div class="col-md-10 col-md-offset-1"> <ul class="nav navbar-nav">
                    <li style="font-size: 18px"><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></div>

            </nav>
            <div class="jumbotron text-center" style="background: linear-gradient(45deg,#020031 0,#6d3353 100%);border-radius: 0; margin-top: 51px;margin-bottom: 0;">
                <h1 style="font-size: 100px;color: white;font-weight: 700;">Bootstrap</h1>
                <h2 style="font-size: 30px;color: white;">简洁、直观、强悍的前端开发框架,让web开发更迅速、简单。</h2>
                <p class="masthead-button-links">
                    <a class="btn btn-lg btn-primary btn-shadow" href="https://v3.bootcss.com/" target="_blank" role="button">Bootstrap3中文文档(v3.3.7)</a><br>
                    <a href="" style="font-size: 15px; color: lightgray">Bootstrap2中文文档(v2.3.2)</a>
                </p>

            </div>
            <div class="container-fluid">
                <div class="row">
                    <div class="col-md-12" style="padding: 0;">
                        <p class="text-center" style="background-color:#f5f5f5;height: 50px; line-height: 50px;">
                            <i class="glyphicon glyphicon-bullhorn"> </i>  Bootstrap问答社区 | <i class="glyphicon glyphicon-globe"></i> 新浪微博:@Bootstrap中文网
                        </p>

                    </div>
                </div>
            </div>

        </div>
    </div>
</div>
<div class="container">
    <div class="page-header text-center">
        <h2>Bootstrap相关优质项目推荐</h2>
        <p>这些项目或者是对Bootstrap进行了有益的补充,或者是基于Bootstrap开发的</p>
    </div>
    <div class="row">
        <div class="col-md-3 text-center">
            <a href="" class="thumbnail"><img src="expo.png" alt=""></a>
            <div class="caption">
                <h3 class="text-info">优站精选</h3>
                <p><strong style="font-size:1.5rem"> Bootstrap 网站实例</strong><br>Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>
        <div class="col-md-3 text-center">
            <a href="" class="thumbnail"><img src="webpack.png" alt=""></a>
            <div class="caption">
                <h3 class="text-info">webpack</h3>
                <p><strong style="font-size:1.5rem">是前端资源模块化管理和打包工具</strong><br>Webpack 是当下最热门的前端资源模块化管理和打包工具。它可以将许多松散的模块按照依赖和规则打包成符合***环境部署的前端资源。</p>
            </div>
        </div>
        <div class="col-md-3 text-center">
            <a href="" class="thumbnail"><img src="react.png" alt=""></a>
            <div class="caption">
                <h3 class="text-info">React</h3>
                <p><strong style="font-size:1.5rem"> 用于构建用户界面的 JavaScript 框架</strong><br>React 起源于 Facebook 的内部项目,是一个用于构建用户界面的 JavaScript 库。</p>
            </div>
        </div>
        <div class="col-md-3 text-center">
            <a href="" class="thumbnail"><img src="typescript.png" alt=""></a>
            <div class="caption">
                <h3 class="text-info">TypeScript</h3>
                <p><strong style="font-size:1.5rem"> Bootstrap 网站实例</strong><br>TypeScript 是由微软开源的编程语言。它是 JavaScript 的一个超集,而且本质上向这个语言添加了可选的静态类型和基于类的面向对象编程。</p>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-3 text-center">
            <a href="" class="thumbnail"><img src="expo.png" alt=""></a>
            <div class="caption">
                <h3 class="text-info">优站精选</h3>
                <p><strong style="font-size:1.5rem"> Bootstrap 网站实例</strong><br>Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>
        <div class="col-md-3 text-center">
            <a href="" class="thumbnail"><img src="webpack.png" alt=""></a>
            <div class="caption">
                <h3 class="text-info">webpack</h3>
                <p><strong style="font-size:1.5rem">是前端资源模块化管理和打包工具</strong><br>Webpack 是当下最热门的前端资源模块化管理和打包工具。它可以将许多松散的模块按照依赖和规则打包成符合***环境部署的前端资源。</p>
            </div>
        </div>
        <div class="col-md-3 text-center">
            <a href="" class="thumbnail"><img src="react.png" alt=""></a>
            <div class="caption">
                <h3 class="text-info">React</h3>
                <p><strong style="font-size:1.5rem"> 用于构建用户界面的 JavaScript 框架</strong><br>React 起源于 Facebook 的内部项目,是一个用于构建用户界面的 JavaScript 库。</p>
            </div>
        </div>
        <div class="col-md-3 text-center">
            <a href="" class="thumbnail"><img src="typescript.png" alt=""></a>
            <div class="caption">
                <h3 class="text-info">TypeScript</h3>
                <p><strong style="font-size:1.5rem"> Bootstrap 网站实例</strong><br>TypeScript 是由微软开源的编程语言。它是 JavaScript 的一个超集,而且本质上向这个语言添加了可选的静态类型和基于类的面向对象编程。</p>
            </div>
        </div>
    </div>
</div>
<div class="container-fluid">
    <div class="modal-footer">
        <div class="row">
            <div class="col-md-4 col-md-offset-3" style="text-align: left">
                <h3 class="text-primary"><span class="label label-primary" style="font-size: 22px">B</span>ootstrap中文网</h3>
                <p>我们一直致力于为广大开发者提供更多的优质技术文档和辅助开发工具!</p>
            </div>
            <div class="col-md-4 text-left text-primary">
                <div class="row">
                    <div class="col-sm-3">
                        <h4>关于</h4>
                        <ul class="list-unstyled">
                            <li><a href="" class="text-muted">关于我们</a></li>
                            <li><a href="" class="text-muted">广告合作</a></li>
                            <li><a href="" class="text-muted">友情链接</a></li>
                            <li><a href="" class="text-muted">招聘</a></li>
                        </ul>
                    </div>
                    <div class="col-sm-3">
                        <h4>联系方式</h4>
                        <ul class="list-unstyled">
                            <li><a href="" class="text-muted">关于我们</a></li>
                            <li><a href="" class="text-muted">广告合作</a></li>
                            <li><a href="" class="text-muted">友情链接</a></li>
                            <li><a href="" class="text-muted">招聘</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>

    </div>
</div>


</body>
</html>

运行实例 »

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

Document.png

声明:本文内容转载自脚本之家,由网友自发贡献,版权归原作者所有,如您发现涉嫌抄袭侵权,请联系admin@php.cn 核实处理。
全部评论
文明上网理性发言,请遵守新闻评论服务协议