登录  /  注册
博主信息
博文 60
粉丝 1
评论 1
访问量 62766
热门教程
更多>
最新下载
更多>
网站特效
网站源码
网站素材
前端模板
用Bootstrap仿bootstrap中文网首页_2018年9月27日
PHP学习
原创
1086人浏览过

实例

<!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">
    <title>仿Bootstrap中文网</title>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
            <nav class="navbar navbar-default navbar-inverse navbar-fixed-top" style="border-radius: 0; border: 0;min-height: 45px;">
                <div class="container">
                <div class="container-fluid">
                    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
                        <ul class="nav navbar-nav">
                            <a class="navbar-brand" href="#">Bootstrap中文网</a>
                            <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>
            </nav>
<div class="jumbotron" style="background: linear-gradient(45deg,#020031 0,#6d3353 100%); padding: 90px 0 110px; margin: 0;">
    <h1 class="text-center" style="font-weight: bolder; color: #fff; font-size: 100px">Bootstrap</h1>
    <h2 class="text-center" style="color: #fff;">简洁、直观、强悍的前端开发框架,让web开发更迅速、简单。</h2>
    <button type="button" class="btn btn-primary btn-lg center-block btn-sh" style="margin-top: 30px">Bootstrap3中文文档(v3.3.7)</button>
    <a class="text-center" style="display: block; margin-top: 10px; color: #958a9d; cursor: pointer;">Bootstrap2中文文档(v2.3.2)</a>
</div>
<div class="container-fluid" style="background-color: #f5f5f5; padding: 15px 0; border-bottom: 1px solid #ddd">
<div class="container text-center">
    <span class="glyphicon glyphicon-comment"></span><a>Bootstrap问答社区</a> | <span class="glyphicon glyphicon-shopping-cart"></span><a>新浪微博:@Bootstrap中文网</a>
</div>
</div>
<div class="container text-center" style="margin-top: 40px">
    <div class="row">
        <div class="col-md-8 col-md-offset-2">
            <h2 style="font-size: 46px;">Bootstrap相关优质项目推荐</h2>
            <h5">这些项目或者是对Bootstrap进行了有益的补充,或者是基于Bootstrap开发的</h5>
            <hr>
        </div>
    </div>
</div>
<div class="container">
    <div class="row">
        <div class="col-md-3 text-center">
            <div class="thumbnail"  style="height: 336px">
                <a href=""><img src="./images/1.png" alt=""></a>
                <a href=""> <h3 style="color: #337ab7;">优站精选</h3></a>
                <a href=""><h4 style="color: #777"> Bootstrap 网站实例</h4></a>
                <p style="color: #555">Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>

        <div class="col-md-3 text-center">
            <div class="thumbnail"  style="height: 336px">
                <a href=""><img src="./images/1.png" alt=""></a>
                <a href=""> <h3 style="color: #337ab7;">优站精选</h3></a>
                <a href=""><h4 style="color: #777"> Bootstrap 网站实例</h4></a>
                <p style="color: #555">Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>

        <div class="col-md-3 text-center">
            <div class="thumbnail"  style="height: 336px">
                <a href=""><img src="./images/1.png" alt=""></a>
                <a href=""> <h3 style="color: #337ab7;">优站精选</h3></a>
                <a href=""><h4 style="color: #777"> Bootstrap 网站实例</h4></a>
                <p style="color: #555">Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>

        <div class="col-md-3 text-center">
            <div class="thumbnail"  style="height: 336px">
                <a href=""><img src="./images/1.png" alt=""></a>
                <a href=""> <h3 style="color: #337ab7;">优站精选</h3></a>
                <a href=""><h4 style="color: #777"> Bootstrap 网站实例</h4></a>
                <p style="color: #555">Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>

        <div class="col-md-3 text-center">
            <div class="thumbnail"  style="height: 336px">
                <a href=""><img src="./images/1.png" alt=""></a>
                <a href=""> <h3 style="color: #337ab7;">优站精选</h3></a>
                <a href=""><h4 style="color: #777"> Bootstrap 网站实例</h4></a>
                <p style="color: #555">Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>

        <div class="col-md-3 text-center">
            <div class="thumbnail"  style="height: 336px">
                <a href=""><img src="./images/1.png" alt=""></a>
                <a href=""> <h3 style="color: #337ab7;">优站精选</h3></a>
                <a href=""><h4 style="color: #777"> Bootstrap 网站实例</h4></a>
                <p style="color: #555">Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>

        <div class="col-md-3 text-center">
            <div class="thumbnail"  style="height: 336px">
                <a href=""><img src="./images/1.png" alt=""></a>
                <a href=""> <h3 style="color: #337ab7;">优站精选</h3></a>
                <a href=""><h4 style="color: #777"> Bootstrap 网站实例</h4></a>
                <p style="color: #555">Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>

        <div class="col-md-3 text-center">
            <div class="thumbnail"  style="height: 336px">
                <a href=""><img src="./images/1.png" alt=""></a>
                <a href=""> <h3 style="color: #337ab7;">优站精选</h3></a>
                <a href=""><h4 style="color: #777"> Bootstrap 网站实例</h4></a>
                <p style="color: #555">Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>

        <div class="col-md-3 text-center">
            <div class="thumbnail"  style="height: 336px">
                <a href=""><img src="./images/1.png" alt=""></a>
                <a href=""> <h3 style="color: #337ab7;">优站精选</h3></a>
                <a href=""><h4 style="color: #777"> Bootstrap 网站实例</h4></a>
                <p style="color: #555">Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>

        <div class="col-md-3 text-center">
            <div class="thumbnail"  style="height: 336px">
                <a href=""><img src="./images/1.png" alt=""></a>
                <a href=""> <h3 style="color: #337ab7;">优站精选</h3></a>
                <a href=""><h4 style="color: #777"> Bootstrap 网站实例</h4></a>
                <p style="color: #555">Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>

        <div class="col-md-3 text-center">
            <div class="thumbnail"  style="height: 336px">
                <a href=""><img src="./images/1.png" alt=""></a>
                <a href=""> <h3 style="color: #337ab7;">优站精选</h3></a>
                <a href=""><h4 style="color: #777"> Bootstrap 网站实例</h4></a>
                <p style="color: #555">Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>

        <div class="col-md-3 text-center">
            <div class="thumbnail"  style="height: 336px">
                <a href=""><img src="./images/1.png" alt=""></a>
                <a href=""> <h3 style="color: #337ab7;">优站精选</h3></a>
                <a href=""><h4 style="color: #777"> Bootstrap 网站实例</h4></a>
                <p style="color: #555">Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>

        <div class="col-md-3 text-center">
            <div class="thumbnail"  style="height: 336px">
                <a href=""><img src="./images/1.png" alt=""></a>
                <a href=""> <h3 style="color: #337ab7;">优站精选</h3></a>
                <a href=""><h4 style="color: #777"> Bootstrap 网站实例</h4></a>
                <p style="color: #555">Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>

        <div class="col-md-3 text-center">
            <div class="thumbnail"  style="height: 336px">
                <a href=""><img src="./images/1.png" alt=""></a>
                <a href=""> <h3 style="color: #337ab7;">优站精选</h3></a>
                <a href=""><h4 style="color: #777"> Bootstrap 网站实例</h4></a>
                <p style="color: #555">Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>

        <div class="col-md-3 text-center">
            <div class="thumbnail"  style="height: 336px">
                <a href=""><img src="./images/1.png" alt=""></a>
                <a href=""> <h3 style="color: #337ab7;">优站精选</h3></a>
                <a href=""><h4 style="color: #777"> Bootstrap 网站实例</h4></a>
                <p style="color: #555">Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>

        <div class="col-md-3 text-center">
            <div class="thumbnail"  style="height: 336px">
                <a href=""><img src="./images/1.png" alt=""></a>
                <a href=""> <h3 style="color: #337ab7;">优站精选</h3></a>
                <a href=""><h4 style="color: #777"> Bootstrap 网站实例</h4></a>
                <p style="color: #555">Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>

        <div class="col-md-3 text-center">
            <div class="thumbnail"  style="height: 336px">
                <a href=""><img src="./images/1.png" alt=""></a>
                <a href=""> <h3 style="color: #337ab7;">优站精选</h3></a>
                <a href=""><h4 style="color: #777"> Bootstrap 网站实例</h4></a>
                <p style="color: #555">Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>

        <div class="col-md-3 text-center">
            <div class="thumbnail"  style="height: 336px">
                <a href=""><img src="./images/1.png" alt=""></a>
                <a href=""> <h3 style="color: #337ab7;">优站精选</h3></a>
                <a href=""><h4 style="color: #777"> Bootstrap 网站实例</h4></a>
                <p style="color: #555">Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>

        <div class="col-md-3 text-center">
            <div class="thumbnail"  style="height: 336px">
                <a href=""><img src="./images/1.png" alt=""></a>
                <a href=""> <h3 style="color: #337ab7;">优站精选</h3></a>
                <a href=""><h4 style="color: #777"> Bootstrap 网站实例</h4></a>
                <p style="color: #555">Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>

        <div class="col-md-3 text-center">
            <div class="thumbnail"  style="height: 336px">
                <a href=""><img src="./images/1.png" alt=""></a>
                <a href=""> <h3 style="color: #337ab7;">优站精选</h3></a>
                <a href=""><h4 style="color: #777"> Bootstrap 网站实例</h4></a>
                <p style="color: #555">Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>
        <div class="col-md-3 text-center">
            <div class="thumbnail"  style="height: 336px">
                <a href=""><img src="./images/1.png" alt=""></a>
                <a href=""> <h3 style="color: #337ab7;">优站精选</h3></a>
                <a href=""><h4 style="color: #777"> Bootstrap 网站实例</h4></a>
                <p style="color: #555">Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
            </div>
        </div>
    </div>
</div>
<div class="container-fluid" style="border-top: 1px solid #ddd;">
    <div class="container" style="margin-top: 40px">
        <div class="row">
            <div class="col-md-6">
                <img src="images/footer.png" style="margin-bottom: 10px">
                <p style="color: #777">我们一直致力于为广大开发者提供更多的优质技术文档和辅助开发工具!</p>
            </div>
            <div class="col-md-6">
                <div class="row">
                    <div class="col-md-3 col-md-offset-1">
                    <h4>关于</h4>
                    <ul class="list-unstyled">
                        <li ><a href=""  style="color: #777">关于我们</a></li>
                        <li><a href=""  style="color: #777">广告合作</a></li>
                        <li><a href=""  style="color: #777">友情链接</a></li>
                        <li><a href=""  style="color: #777">招聘</a></li>
                    </ul>
                </div>
                    <div class="col-md-3">
                        <h4>联系方式</h4>
                        <ul class="list-unstyled">
                            <li ><a href=""  style="color: #777">新浪微博</a></li>
                            <li><a href=""  style="color: #777">电子邮件</a></li>
                        </ul>
                    </div>
                    <div class="col-md-3">
                        <h4>旗下网站</h4>
                        <ul class="list-unstyled">
                            <li ><a href=""  style="color: #777">关于我们</a></li>
                            <li><a href=""  style="color: #777">广告合作</a></li>
                            <li><a href=""  style="color: #777">友情链接</a></li>
                            <li><a href=""  style="color: #777">招聘</a></li>
                            <li><a href=""  style="color: #777">燃腾教育</a></li>
                        </ul>
                    </div>
                    <div class="col-md-2">
                        <h4>赞助商</h4>
                        <ul class="list-unstyled">
                            <li ><a href=""  style="color: #777">京东云</a></li>
                            <li><a href=""  style="color: #777">又拍云</a></li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="container" style="border-top: 1px solid #eee; padding: 20px 0 50px 0;">
        <p class="text-center" style="color: #777;">京ICP备11008151号 | 京公网安备11010802014853</p>
</div>
</body>
</html>

运行实例 »

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


批改状态:合格

老师批语:
本博文版权归博主所有,转载请注明地址!如有侵权、违法,请联系admin@php.cn举报处理!
全部评论 文明上网理性发言,请遵守新闻评论服务协议
0条评论
作者最新博文
关于我们 免责申明 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送
PHP中文网APP
随时随地碎片化学习
PHP中文网抖音号
发现有趣的

Copyright 2014-2024 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号

  • 登录PHP中文网,和优秀的人一起学习!
    全站2000+教程免费学