博客列表 >用Bootstrap仿bootstrap中文网首页_2018年9月27日

用Bootstrap仿bootstrap中文网首页_2018年9月27日

PHP学习
PHP学习原创
2018年09月28日 01:01:301116浏览

实例

<!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 核实处理。
全部评论
文明上网理性发言,请遵守新闻评论服务协议