day5

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
<link href="./bootstrap-3.3.7-dist/css/bootstrap.css" rel="stylesheet">
<style>
    body {
        width: 100%;
    }
    .a {
        margin-left: 170px;
    }
    .a li {
        list-style: none;
        float: left;
        font-size: 14px;
        margin: 15px 0px 0px 25px;

    }
    .a a {
        text-decoration: none;
        color: gray;
    }
    .a a:hover {
       color: white;
    }
    .a1:after {
        content: "";
        position: absolute;
        top: 0px;
        right: -10px;
        padding: 3px;
        z-index: 9999999;
        background: #d9534f;
        border-radius: 50%;
        font-size: 0;
        line-height: 0;
        border: 1px solid #d43f3a;

    }
    .a1 {
        position: relative;
    }
    .b {
        background-color:black;
        margin-top:51px;
       padding-top: 50px;
        width:100% ;
        height: 450px;
        text-align: center;
    }
    .b li a:hover {
       color:white;
    }
    .b1 {
        color: gray;
    }
    .c {
        width: 100%;
        height: 54px;
        background:#f5f5f5;
        margin-top: -25px;
        padding-left: 500px;
    }
    .c li {
        list-style: none;
        float: left;
        font-size: 14px;
        margin: 15px 0px 0px 25px;
    }
    .c li a {
        color:gray;
    }
    .c li a:hover {
        color: red;
    }
    #scrollUp {
        background-color: #777;
        color: #eee;
        font-size: 40px;
        line-height: 1;
        text-align: center;
        text-decoration: none;
        bottom: 20px;
        right: 20px;
        width: 46px;
        height: 46px;
        border: none;
    }
</style>
</head>
<body>
<div>
    <div class="navbar navbar-inverse navbar-fixed-top">
        <div class="a">
            <a class="navbar-brand hidden-sm" 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 class="a1" href="">网站实例</a></li>
            <li style="float: right;margin-right: 180px;"><a href="">关于</a></li>
        </div>
    </div>
    <div class="b">
        <div>
            <h1 style="font-size: 100px;color: white;">Bootstrap</h1>
            <h2 style="color: white; ">简洁、直观、强悍的前端开发框架,让web开发更迅速、简单。</h2>
            <p style="padding-top: 20px">
            <a class="btn btn-lg btn-primary btn-shadow" href="">Bootstrap3中文文档(v3.3.7)</a></p>
            <li style="list-style: none;padding-top:10px; ">
                <a href="" class="b1">Bootstrap2中文文档(v2.3.2)</a>
            </li>
        </div>
    </div>
    <div class="c">
        <ul>
            <li><a href="" style="color:gray;">
                <img src="1.jpg"width="35"height="25" >
                Bootstrap问答社区</a></li>
            <li><a href="" style="border-left:1px solid gray;padding-left: 25px;">
                <img src="2.jpg"width="35"height="25" >
                Bootstrap中文网官方微博</a></li>
        </ul>
    </div>
    <div class="d" style="margin-left: 54px;">
        <div class="d1" style="text-align: center;border-bottom:1px solid gainsboro;margin: 0 auto;
            width: 684px;height: 120px;">
            <h2 style="font-size: 40px;padding-top:30px; ">
                Bootstrap相关优质项目推荐</h2>
            <p>这些项目或者是对Bootstrap进行了有益的补充,或者是基于Bootstrap开发的</p>
        </div>
        <div class="row" style="margin-left: 80px;">
            <div class="col-sm-6 col-md-4 col-lg-3 "
                 style="width: 265px;height: 352px;margin: 20px;
                 border:1px solid gainsboro; ">
                <div>
                <a href=""><img src="https://cdn.jsdelivr.net/npm/@bootcss/www.bootcss.com@0.0.3/dist/img/expo.png"
                        width="250" height="130" style="margin-top: 5px;margin-left: -10px"></a>
                </div>
                <div style="text-align: center;">
                    <h3 style="color: blue"><a href="" style="text-decoration: none;">优站精选</a>
                    <br>
                        <small> Bootstrap 网站实例</small>
                    </h3>
                    <p>Bootstrap 优站精选频道收集了众多基于 Bootstrap 构建、设计精美的、有创意的网站。</p>
                </div>
            </div>
            <div class="col-sm-6 col-md-4 col-lg-3 "
                 style="width: 265px;height: 352px;margin: 20px;
                 border:1px solid gainsboro; ">
                <div>
                    <a href=""><img src="https://cdn.jsdelivr.net/npm/@bootcss/www.bootcss.com@0.0.3/dist/img/webpack.png"
                                    width="250" height="130" style="margin-top: 5px;margin-left: -10px"></a>
                </div>
                <div style="text-align: center;">
                    <h3 style="color: blue"><a href="" style="text-decoration: none;">Webpack</a>
                        <br>
                        <small> 是前端资源模块化管理和打包工具</small>
                    </h3>
                    <p>Webpack 是当下最热门的前端资源模块化管理和打包工具。
                        它可以将许多松散的模块按照依赖和规则打包成符合生产环境部署的前端资源。</p>
                </div>
            </div>
            <div class="col-sm-6 col-md-4 col-lg-3 "
                 style="width: 265px;height: 352px;margin: 20px;
                 border:1px solid gainsboro; ">
                <div>
                    <a href="" ><img src="https://cdn.jsdelivr.net/npm/@bootcss/www.bootcss.com@0.0.3/dist/img/react.png"
                                    width="250" height="130" style="margin-top: 5px;margin-left: -10px;"></a>
                </div>
                <div style="text-align: center;">
                    <h3 style="color: blue"><a href="" style="text-decoration: none;">React</a>
                        <br>
                        <small>用于构建用户界面的 JavaScript 框架</small>
                    </h3>
                    <p>React 起源于 Facebook 的内部项目,是一个用于构建用户界面的 JavaScript 库。</p>
                </div>
            </div>
            <div  class="col-sm-6 col-md-4 col-lg-3 "
                  style="width: 265px;height: 352px;margin: 20px;
                 border:1px solid gainsboro; ">
                <div>
                    <a href=""><img src="https://cdn.jsdelivr.net/npm/@bootcss/www.bootcss.com@0.0.3/dist/img/typescript.png"
                                    width="250" height="130" style="margin-top: 5px;margin-left: -10px"></a>
                </div>
                <div style="text-align: center;">
                    <h3 style="color: blue"><a href="" style="text-decoration: none;">TypeScript</a>
                        <br>
                        <small>中文手册</small>
                    </h3>
                    <p>TypeScript 是由微软开源的编程语言。
                        它是 JavaScript 的一个超集,而且本质上向这个语言添加了可选的静态类型和基于类的面向对象编程。</p>
                </div>
            </div>
            <div  class="col-sm-6 col-md-4 col-lg-3 "
                  style="width: 265px;height: 352px;margin: 20px;
                 border:1px solid gainsboro; ">
                <div>
                    <a href=""><img src="https://cdn.jsdelivr.net/npm/@bootcss/www.bootcss.com@0.0.3/dist/img/jqueryapi.png"
                                    width="250" height="130" style="margin-top: 5px;margin-left: -10px"></a>
                </div>
                <div style="text-align: center;">
                    <h3 style="color: blue"><a href="" style="text-decoration: none;">jQuery API</a>
                        <br>
                        <small>中文手册</small>
                    </h3>
                    <p>根据最新的 jQuery 1.11.x 和 2.1.x 版本翻译的 jQuery API 中文文档/手册。</p>
                </div>
            </div>
            <div  class="col-sm-6 col-md-4 col-lg-3 "
                  style="width: 265px;height: 352px;margin: 20px;
                 border:1px solid gainsboro; ">
                <div>
                    <a href=""><img src="https://cdn.jsdelivr.net/npm/@bootcss/www.bootcss.com@0.0.3/dist/img/nextjs.png"
                                    width="250" height="130" style="margin-top: 5px;margin-left: -10px"></a>
                </div>
                <div style="text-align: center;">
                    <h3 style="color: blue"><a href="" style="text-decoration: none;">Next.js</a>
                        <br>
                        <small>中文手册</small>
                    </h3>
                    <p>Next.js 是一个轻量级的 React 服务端渲染应用框架。</p>
                </div>
            </div>
            <div  class="col-sm-6 col-md-4 col-lg-3 "
                  style="width: 265px;height: 352px;margin: 20px;
                 border:1px solid gainsboro; ">
                <div>
                    <a href=""><img src="https://cdn.jsdelivr.net/npm/@bootcss/www.bootcss.com@0.0.3/dist/img/babeljs.png"
                                    width="250" height="130" style="margin-top: 5px;margin-left: -10px"></a>
                </div>
                <div style="text-align: center;">
                    <h3 style="color: blue"><a href="" style="text-decoration: none;">Babel</a>
                        <br>
                        <small>是一个 JavaScript 编译器。</small>
                    </h3>
                    <p>Babel 是一个 JavaScript 编译器。Babel 通过语法转换器支持最新版本的 JavaScript 语法。</p>
                </div>
            </div>
            <div  class="col-sm-6 col-md-4 col-lg-3 "
                  style="width: 265px;height: 352px;margin: 20px;
                 border:1px solid gainsboro; ">
                <div>
                    <a href=""><img src="https://cdn.jsdelivr.net/npm/@bootcss/www.bootcss.com@0.0.3/dist/img/nodejs.png"
                                    width="250" height="130" style="margin-top: 5px;margin-left: -10px"></a>
                </div>
                <div style="text-align: center;">
                    <h3 style="color: blue"><a href="" style="text-decoration: none;">Node.js</a>
                        <br>
                        <small>中文文档 / 手册</small>
                    </h3>
                    <p>Node.js 是一个基于 Chrome V8 引擎的 JavaScript 运行环境
                        。Node.js 使用了一个事件驱动、非阻塞式 I/O 的模型,使其轻量又高效。</p>
                </div>
            </div>

        </div>
    </div>
    <div style="height: 189px;border-top:1px solid gainsboro;margin-top:60px; ">
        <div style="width: 1200px; height:160px;margin-top: 40px;margin-left: 150px;border-bottom:1px solid gainsboro; ">
            <div class="col-md-6 col-lg-6">
                <h4><img src="https://cdn.jsdelivr.net/npm/@bootcss/www.bootcss.com@0.0.3/dist/img/logo.png"></h4>
                <p style="color: #777;">我们一直致力于为广大开发者提供更多的优质技术文档和辅助开发工具!</p>
            </div>
            <div class="col-md-6  col-lg-5 col-lg-offset-1">
                <div class="row about">
                    <div class="col-sm-3">
                        <h4 style="font-size:17px;color:purple; ">关于</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-sm-3">
                        <h4 style="font-size:17px;color:purple; ">联系方式</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-sm-4">
                        <h4 style="font-size:17px;color:purple; ">旗下网站</h4>
                        <ul class="list-unstyled">
                            <li>
                                <a href="" style="color: #777; ">Laravel中文网</a>
                            </li>
                            <li>
                                <a href="" style="color: #777; ">Ghost中国</a>
                            </li>
                            <li>
                                <a href="" style="color: #777; ">BootCDN</a>
                            </li>
                            <li>
                                <a href="" style="color: #777; ">Packagist中国镜像</a>
                            </li>
                        </ul>
                    </div>
                    <div class="col-sm-2">
                        <h4 style="font-size:17px;color:purple; ">特别致谢</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>
                        </ul>
                    </div>
                </div>
            </div>
        </div>

        <div>
            <ul>
                <li style="list-style: none;text-align: center;padding-left:550px;padding-top: 20px;">
                    <a href="" style="float: left;border-right:1px solid gray; padding-right: 10px;color: gray;">
                        京ICP备11008151号-6</a></li>
                <li style="list-style: none;text-align: center; padding-right:580px;color: gray">
                    京公网安备11010802014853</li>
            </ul>
        </div>
    </div>
</div>
<a id="scrollUp" href="#top" style="position: fixed; ">
<p>∧</p>
</a>
</body>
</html>

原文地址:https://blog.csdn.net/Gavinorb/article/details/100748824

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


前端工程师一般用的是Bootstrap的框架而不是样式,样式一般自己重新定义class类即可,主要样式要随具体情况而定包括位置任何带有class.btn的元素都会继承圆角灰色按钮的默认外观。但是Bootstrap提供了一些选项来定义按钮的样式。<buttontype="button"class="btn">基本
起步导入:<linkrel="stylesheet"href="bootstrap-3.3.7-dist/css/bootstrap.css"><scriptsrc="js/jquery-3.3.1.js"></script><scriptsrc="bootstrap-3.3.7-dist/js/bootstrap.js"></script>屏幕
(1)modal声明一个模态框(2)modal-dialog定义模态框尺寸(3)modal-lg定义大尺寸模态框(4)modal-sm定义小尺寸模态框(5)modal-header(6)modal-body(7)modal-footer<!doctypehtml><html><head><metacharset="utf-8"><title>模态框<itle><linkrel=&quo
图片在Bootstrap版本3中,通过为图片添加 .img-responsive 类可以让图片支持响应式布局。其实质是为图片设置了 max-width:100%;、 height:auto; 和 display:block; 属性,从而让图片在其父元素中更好的缩放。如果需要让使用了 .img-responsive 类的图片水平居
<inputtype="text"class="form-controldatepicker"style="padding:0.375rem0.75rem;"placeholder="开始时间"readonly="true" id="start_time"name="start_time"> $(".datepicke
目录bootstrap-treeview使用小记零、写在前面的话一、功能说明二、特性简述三、实战3.1依赖环境3.2数据源格式3.3Options选项3.4Methods方法3.5Events事件N-2、番外N-1、本文demoN、参考资料bootstrap-treeview使用小记零、写在前面的话p.s.bootst
  一、应用http://www.bootcss.com/进入bootstrap4或bootstrap3中文网,想要快速地将Bootstrap应用到你的项目中,有以下两种办法: 1、bootstrap可以在线引用,方法如下:A、CSS将引入Bootstrap样式表的 <link> 标签复制并粘贴到 <head> 中,并放在所有其他样式表之前。<!
第87节:Java中的Bootstrap基础与SQL入门前言复习什么是JQ?:writelessdomore写更少的代码,做更多的事找出所有兄弟:$("div").siblings()基本过滤器:选择器:过滤器$("div:first"):first:找到第一个元素:last:找到最后一个元素:even:找出偶数索引:odd:找出奇叔索引
1.bootstrap表单(1)form声明一个表单域(2)form-inline内联表单域(3)form-horizontal水平排列表单域(4)form-group表单组、包括表单文字和表单控件(5)form-control文本输入框、下拉列表控件样式(6)checkboxcheck-inline多选框样式(7)radioradio-inline单选框样式(8)input-group表单控件组
<!DOCTYPEhtml><htmllang="en"><head><metacharset="utf-8"><metaname="viewport"content="width=device-width,initial-scale=1.0"><title>首页<itle><
嗯。。。以前做ssh。应该是stratusspringhibernate。 然后现在来了一个新的需求。 要用java,bootstrap,oracle,springboot,jquery,mybatis。 开始,我也挺心虚的,但是后来一看,,,其实本没有必要这么虚。。。毕竟。。。这些东西,写的有问题。。。问题在于没有逻辑。 bootstrap,j
表格基本实例为任意 <table> 标签添加 .table 类可以为其赋予基本的样式—少量的内补(padding)和水平方向的分隔线。这种方式看起来很多余!?但是我们觉得,表格元素使用的很广泛,如果我们为其赋予默认样式可能会影响例如日历和日期选择之类的插件,所以我们选择将此样式独立出来。
1、问题背景   一般情况下,查询列表有查询条件、查询按钮和重置按钮,输入查询条件,点击查询按钮查询列表等数据;点击重置按钮会将查询条件恢复到原始状态 2、实现源码 <!DOCTYPEhtml><html> <head> <metacharset="UTF-8"> <title>Bootstrap-查询按钮和重置按钮<
Bootstrap简介什么是Bootstrap?Bootstrap官网框架:库liblibraryjQuery作为一个框架来讲,提供一套比较便捷的操作DOM的方式把大家都需要的功能预先写好到一些文件这就是一个框架Bootstrap让我们的Web开发更简单,更快捷;注意是Bootstrap不是BootStrap!这是一个词,不是
1.bootstrap图片img-responsive声明响应式图片2.bootstrap字体图标通过字体代替图标,font文件夹需要和css文件夹在同一目录3.bootst导航条(1)navbar声明导航条(2)navbar-default声明默认的导航条样式(3)navbar-inverse声明反白的导航条样式(4)navbar-static-top去掉导航条的圆角(5)n
1.路径导航<!doctypehtml><html><head><metacharset="utf-8"><title>路径导航<itle><linkrel="stylesheet"type="text/css"href="css/bootstrap.min.css"><scripttype="text/ja
问题描述:最近在学习BootStrap,过程中遇到引用glyphicon图标无法显示的问题,经过在百度后该问题已解决。1、首先看一下图标显示失败的页面:2、经过参考大佬们的经验,我找到了解决办法。首先我的BootStrap的css样式表是经过下载之后直接拷贝了其中一个文件到编译器中使用的,没有把所有
BootStrap布局一、BootStrap布局CSS组件主要包括栅格系统、列表组、进度条、icon图标、导航栏等组件。JavaScript插件主要有动画效果、窗体模式、下拉菜单、选项卡等二、网格系统Bootstrap内置了一套响应式、移动优先的流式栅格系统,随着屏幕设备或可视窗口(viewport)尺寸的
1引入所需要的文件2用法
想让bootstrap的table列内容超出部分省略号,要在table上加table-layout:fixed和word-break:break-all,然后在头部thead的th加上宽度百分比,最后在列里加个标签如span,在这个span加上单行超出部分省略号的css:display:inline-block,overflow:hidden,white-space:nowrap,text-overflow:e