基于bootstrap_网站汇总页面 bootstrap网站案例

   2023-03-08 学习力0
核心提示:!DOCTYPE htmlhtml lang="en"headmeta charset="UTF-8"title我的网页/titlelink rel="stylesheet" href="css/bootstrap.min.css"/headbody!--头部信息--nav class="navbar navbar-inverse navbar-fixed-top"div class="conta
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>我的网页</title>
    <link rel="stylesheet" href="css/bootstrap.min.css">

</head>
<body>

<!--头部信息-->
<nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="container">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
            <button type="button" class="navbar-toggle collapsed" data-toggle="collapse"
                    data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="#">YoundGirl</a>
        </div>

        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
            <ul class="nav navbar-nav">
                <li class="active"><a href="#">Linux学院 <span class="sr-only">(current)</span></a></li>
                <li><a href="#">Python学院</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false">更多学院<span class="caret"></span></a>

                </li>
            </ul>

            <ul class="nav navbar-nav navbar-right">
                <li><a href="#">好好学习</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true"
                       aria-expanded="false">联系我啊 <span class="caret"></span></a>

                </li>
            </ul>
        </div><!-- /.navbar-collapse -->
    </div><!-- /.container-fluid -->
</nav>

<!--轮播图片-->
<header class="header-index">
    <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
        <!-- Indicators -->
        <ol class="carousel-indicators">
            <li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
            <li data-target="#carousel-example-generic" data-slide-to="1"></li>
            <li data-target="#carousel-example-generic" data-slide-to="2"></li>
            <li data-target="#carousel-example-generic" data-slide-to="3"></li>
        </ol>

        <!-- Wrapper for slides -->
        <div class="carousel-inner" role="listbox">
            <div class="item active">
                <img src="img/top1.png" width="100%" alt="...">
                <div class="carousel-caption">
                    <div class="h1 my-banner-title"><strong>姬灵焰</strong></div>
                </div>
            </div>
            <div class="item">
                <img src="img/top2.png" width="100%" alt="...">
                <div class="carousel-caption">
                    <div class="h1 my-banner-title">紫女</div>
                </div>
            </div>
            <div class="item">
                <img src="img/top3.png" width="100%" alt="...">
                <div class="carousel-caption">
                    <div class="h1 my-banner-title">雪女</div>
                </div>
            </div>
            <div class="item">
                <img src="img/top4.png" width="100%" alt="...">
                <div class="carousel-caption">
                    <div class="h1 my-banner-title">赤练</div>
                </div>
            </div>
        </div>

        <!-- Controls切换按钮 -->
        <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
            <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
            <span class="sr-only">up</span>
        </a>
        <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
            <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
            <span class="sr-only">down</span>
        </a>
    </div>
</header>

<!--巨幕-->
<div class="container-fluid">
    <div class="row">
        <div class="rol-md-6">
            <div class="jumbotron text-center">
                <h1>秦时明月出新版了</h1>
                <p>等了我好多年了啊啊啊</p>
                <hr width="20%">
                <p><a class="btn btn-primary btn-lg" href="#" role="button">点击有惊喜</a></p>
            </div>
        </div>
    </div>
</div>

<!--图片展示-->
<div class="container">
    <div class="row">
        <div class="col-md-6 col-sm-6">
            <div class="thumbnail"><img src="img/denglu.png" alt=""></div>
        </div>
        <div class="col-md-6 col-sm-6 text-center">
            <h2>使用<strong>Bootstrap</strong>搭建的</h2>
            <h2>登陆页面</h2>
            <span class="my-line"></span>
            <p class="lead">
                使用表单、按钮组件搭建
            </p>
        </div>
    </div>
    <div class="row">
        <div class="col-md-6 col-sm-6 text-center">
            <h2>使用Bootstrap搭建的</h2>
            <h2>信息采集单</h2>
            <span class="my-line"></span>
            <p class="lead">
                使用表单、页头、面板组件、进度条等组件搭建
            </p>
        </div>
        <div class="col-md-6 col-sm-6">
            <div class="thumbnail"><img src="img/xinxicaiji.png" alt=""></div>
        </div>
    </div>
    <div class="row">
        <div class="col-md-6 col-sm-6">
            <div class="thumbnail"><img src="img/houtaiguanli.png" alt=""></div>
        </div>
        <div class="col-md-6 col-sm-6 text-center">
            <h2>使用<strong>Bootstrap</strong>搭建的</h2>
            <h2>后台管理</h2>
            <span class="my-line"></span>
            <p class="lead">
                使用导航,面板,组合按钮等组件搭建
            </p>
        </div>
    </div>
    <div class="row">
        <div class="col-md-6 col-sm-6 text-center">
            <h2>使用Bootstrap搭建的</h2>
            <h2>博客页面</h2>
            <span class="my-line"></span>
            <p class="lead">
                使用模板等组件搭建
            </p>
        </div>
        <div class="col-md-6 col-sm-6">
            <div class="thumbnail"><img src="img/daobanbk.png" alt=""></div>
        </div>
    </div>
</div>

<!--心路历程-->
<div class="container-fluid">
    <div class="row">
        <div class="rol-md-6">
            <div class="jumbotron text-center">
                <h3>心路历程</h3>
                <p>找材料真的是好麻烦,一般时间浪费在这上边了.......</p>
                <hr width="20%">
                <p>一个早上才写了这么点</p>

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

<hr>
<!--我的小女友们-->
<div class="container">
    <div class="row">
        <div class="col-xs-6 col-md-3">
            <a href="#" class="thumbnail">
                <img src="img/Bootstrap_i1.png" alt="...">
            </a>
            <p><a href="#" class="btn btn-primary" role="button">Like</a> <a href="#" class="btn btn-default"
                                                                             role="button">Dislike</a></p>
        </div>
        <div class="col-xs-6 col-md-3">
            <a href="#" class="thumbnail">
                <img src="img/Bootstrap_i2.png" alt="...">
            </a>
            <p><a href="#" class="btn btn-primary" role="button">Like</a> <a href="#" class="btn btn-default"
                                                                             role="button">Dislike</a></p>
        </div>
        <div class="col-xs-6 col-md-3">
            <a href="#" class="thumbnail">
                <img src="img/Bootstrap_i3.png" alt="...">
            </a>
            <p><a href="#" class="btn btn-primary" role="button">Like</a> <a href="#" class="btn btn-default"
                                                                             role="button">Dislike</a></p>
        </div>
        <div class="col-xs-6 col-md-3">
            <a href="#" class="thumbnail">
                <img src="img/Bootstrap_i4.png" alt="...">
            </a>
            <p><a href="#" class="btn btn-primary" role="button">Like</a> <a href="#" class="btn btn-default"
                                                                             role="button">Dislike</a></p>
        </div>
        <h3 class="text-center">好多前女友。。。。我晕</h3>
    </div>
</div>

<!--尾部-->
<div class="container">
    <div class="row ">
        <div class="col-md-6">
            <p>学好bootstrap是一门可以装逼的技能</p>
            <p>所以一定要学好</p>
        </div>


        <div class="col-md-1 col-md-offset-5"><a class="btn btn-success btn-lg" href="#" role="button">点击有惊喜</a></div>
        <br>
        <br>
    </div>
</div>

<!--版权-->
<div class="container-fluid">
    <div class="row " style="background-color: black;color: white">
        <div class="rol-md-12 text-center">&copy;复制粘贴一把锁,前端老王子</div>
    </div>
</div>
<!--动态代码-->
<script src="https://cdn.bootcss.com/jquery/3.2.0/jquery.min.js"></script>
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
</body>
</html>

效果图↓:

 

 
反对 0举报 0 评论 0
 

免责声明:本文仅代表作者个人观点,与乐学笔记(本网)无关。其原创性以及文中陈述文字和内容未经本站证实,对本文以及其中全部或者部分内容、文字的真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
    本网站有部分内容均转载自其它媒体,转载目的在于传递更多信息,并不代表本网赞同其观点和对其真实性负责,若因作品内容、知识产权、版权和其他问题,请及时提供相关证明等材料并与我们留言联系,本网站将在规定时间内给予删除等相关处理.

  • Bootstrap基础:选择器
    1.CSS属性选择器[arrt=value]   该属性有指定的确切值[arrt~=value]  该属性值必须是多个空格隔开的值,比如,class=“title featured home”,而且这些值中的一个必须是指定的值“value”[arrt|=value]  属性的值就是“value”或者以“value”开始并立即
    03-16
  • bootstrap模态框手动开启关闭与设置点击外部不关闭
    bootstrap模态框手动开启关闭与设置点击外部不
    完整的参考菜鸟教程:http://www.runoob.com/bootstrap/bootstrap-modal-plugin.html1.手动开启与关闭模态框的方法  按钮开启与JS函数开启(2种)!DOCTYPE htmlhtmlheadmeta charset="utf-8"titleBootstrap 实例 - 模态框(Modal)插件/titlelink rel="styleshe
    03-16
  • Bootstrap.css 中请求googleapis.com/css?famil
    问题描述: Web中引入bootstrap.css中头部有访问Google服务器的请求 @import url("//fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700");     国内访问不稳定,页面反应慢解决:将请求结果保存下来,放到本地,重新声明请求1.请求http:
    03-16
  • 基于.NET6、FreeSql、若依UI、LayUI、Bootstrap
    近几年,.net生态日益强大,特别是跨平台技术,性能提升,那真的是强大无比。为了日常能够快速开发,笔者基于基于.NET6、FreeSql、若依UI、LayUI、Bootstrap构建插件式的CMS,请大家多提意见建议。在此,要感谢若依CMS的作者,借用了皮肤框架。懒的发文字描述
    03-16
  • elasticsearch bootstrap.memory_lock
    检查bootstrap.memory_lock设置是否生效get http://10.127.0.1:9200/_nodes?filter_path=**.mlockall响应:{"nodes": {"9giihmDNRdS136KT52Gl5g": {"process": {"mlockall": true}},"X0zQESeeT8uJ9kVXvHpl-w": {"process":
    03-08
  • day 57 Bootstrap 第一天
    day 57 Bootstrap 第一天
    一 、bootstrap是什么 http://v3.bootcss.com/css/#grid-options(参考博客)是一个前端开发的框架.HTMLCSSJS下载地址:https://v3.bootcss.com/ (当前版本3.3.7)目录结构 bootstrap-3.3.7-dist/├── css// CSS文件│ ├── bootstrap-theme.css// Boo
    03-08
  • 50 个 Bootstrap 插件
    Bootstrap是快速开发Web应用程序的前端工具包。它是一个CSS和HTML的集合,它使用了最新的浏览器技术,给你的Web开发提供了时尚的版式,表单,buttons,表格,网格系统等等。本文向你推荐 50 个 Bootstrap 的插件,可以考虑在你下一个项目中使用它们。1. Boots
    03-08
  • Bootstrap资源 bootstrap官方文档
    官方网站:http://getbootstrap.com/http://twitter.github.com/bootstrap/index.html 官方博客:http://blog.getbootstrap.com/  中文文档:http://wrongwaycn.github.com/bootstrap/docs/index.html  图标:Font Awesomehttp://fortawesome.github.com
    03-08
  • bootstrap bootstrap检验
    bootstrap是简洁灵活的用于搭建web页面的Html,Css工具集。---是一组简洁强大的前端开发框架。 Bootstrap是Twitter推出的一个开源的用于前端开发的工具包。是一个CSS/HTML框架。bootstrap中的js框架依赖于jquery,因此jquery要在bootstrap之前引进一般要把CS
    03-08
  • 002-BootStrap基本模板 bootstrap 模型
    !DOCTYPE htmlhtml lang="zh-CN"headmeta charset="utf-8"!--声明文档兼容模式,表示使用IE浏览器的最新模式--meta http-equiv="X-UA-Compatible" content="IE=edge"!--设置视口的宽度(值为设备的理想宽度),页面初始缩放值理想宽度/可见宽度--meta name="vie
    03-08
点击排行