• 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>
  • 相关阅读:
    sqlserver把小数点后面多余的0去掉
    C#使用Linq对DataGridView进行模糊查找
    winform dataGridView DataGridViewComboBoxColumn 下拉框事件
    JGit与远程仓库链接使用的两种验证方式(ssh和https)
    Quartz不用配置文件配置启动
    SpringBoot之退出服务(exit)时调用自定义的销毁方法
    Java注解Annotation
    Java自定义数据验证注解Annotation
    我的ehcache笔记
    Java中泛型Class<T>、T与Class<?>
  • 原文地址:https://www.cnblogs.com/YoogaChan/p/6896312.html
Copyright © 2020-2023  润新知