zoukankan      html  css  js  c++  java
  • Bootstrap(项目1)

    <!DOCTYPE html>
    <html lang="en">
    <head>
    <meta charset="UTF-8">
    <title>Myproject</title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link rel="stylesheet" href="css/bootstrap.css">
    <script src="js/jquery-3.2.1.js"> </script>
    <script src="js/bootstrap.js"></script>
    <script src="js/holder.js"></script>
    </head>
    <style>
    *{
    padding: 0px;margin: 0px;
    }
    .page-header,.text-left,.footer_text{
    margin-left: 100px;
    }

    #btn{
    margin-left: 100px;
    margin-bottom: 45px;
    margin-top: 30px;
    }
    .page-header{
    margin-top: 100px;
    }
    .jumbotron{
    margin-bottom: 50px;
    }
    .thumbnail{
    border: none;
    margin-bottom: 80px;
    }
    .row { margin-left: 75px;
    }


    </style>
    <body>
    <div class="container">
    <nav class="navbar navbar-inverse navbar-fixed-top">
    <div class="navbar-title">
    <a href="#" class="navbar-brand" style="font-size: 30px" >Project Name</a>
    </div>
    <form class="navbar-form navbar-right">
    <div class="navbar-form">
    <input type="email"placeholder="Email" class="form-control">
    <input type="password"placeholder="Password" class="form-control">
    <button type="button"class="btn btn-success btn-lg">Sign in</button>
    </div>
    </form>
    </nav>
    </div>
    <div class="jumbotron">
    <div class="page-header">
    <h1 style="font-size: 120px">Hello, world!</h1>
    </div>
    <p class="text-left" style="font-size: 30px">
    This is a template for a simple marketing or informational website. It includes a large callout called a jumbotron and three</br>supporting pieces of content. Use it as a starting point to create something more unique.</p>
    <button id="btn" class="btn btn-primary btn-lg">Lean more</button>
    </div>

    <div class="row">
    <div class="col-md-4 col-sm-md-6" >
    <div class="thumbnail">
    <div class="caption">
    <h3 class="brand" style="font-size: 40px">Heading</h3>
    <p style="font-size: 20px">
    Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.
    </p>
    <button type="button" class="btn btn-default btn-lg">View details<span class="glyphicon glyphicon-menu-right"></span><span class="glyphicon glyphicon-menu-right"></span></button>
    </div>
    </div>
    </div>
    <div class="col-md-4 col-sm-md-6" >
    <div class="thumbnail">
    <div class="caption">
    <h3 class="brand" style="font-size: 40px">Heading</h3>
    <p style="font-size: 20px">
    Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.
    </p>
    <button type="button" class="btn btn-default btn-lg">View details<span class="glyphicon glyphicon-menu-right"></span><span class="glyphicon glyphicon-menu-right"></span></button>
    </div>
    </div>
    </div>
    <div class="col-md-4 col-sm-md-6">
    <div class="thumbnail">
    <div class="caption">
    <h3 class="brand" style="font-size: 40px">Heading</h3>
    <p style="font-size: 20px">
    Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui.
    </p>
    <button type="button" id="button"class="btn btn-default btn-lg">View details<span class="glyphicon glyphicon-menu-right"></span><span class="glyphicon glyphicon-menu-right"></span></button>
    </div>
    </div>
    </div>
    </div>
    <p style="font-size: 20px" class="footer_text">© 2016 Company, Inc.</p>

    </body>
    </html>
  • 相关阅读:
    mybatis框架查询用户表中的记录数
    文件的上传和下载
    怎样在一条sql语句中将第一列和第二列加和的值作为第三列的值
    [OS] 进程的虚地址空间
    [网络] TCP/IP协议族各层的协议汇总
    [面试] C++ 虚函数表解析
    [OS] 堆栈、堆、数据段、代码段
    [算法] 并查集概念及其实现
    [OS] 我与大牛的对话!
    [C] int *p[4]与int (*q)[4]的区别
  • 原文地址:https://www.cnblogs.com/YoogaChan/p/6896312.html
Copyright © 2011-2022 走看看