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>
posted @ 2017-05-23 21:43  YoogaChan  阅读(184)  评论(0编辑  收藏  举报