bootstrap30-辅助类展示不同的背景颜色

<!DOCTYPE html>

<html>

<head>

<meta charset="utf-8">

<title>Bootstrap 辅助类</title>

<link rel="stylesheet" href="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/css/bootstrap.min.css">  

<style>

div{

width: 600px;

height: 300px;

}

</style>

</head>

<body>

<div class="container">

<div class="bg-primary">.bg-primary</div>

<div class="bg-success">.bg-success</div>

<div class="bg-info">.bg-info</div>

<div class="bg-warning">.bg-warning</div>

<div class="bg-danger">.bg-danger</div>

</div>

    <script src="http://cdn.static.runoob.com/libs/jquery/2.1.1/jquery.min.js"></script>

   <script src="http://cdn.static.runoob.com/libs/bootstrap/3.3.7/js/bootstrap.min.js"></script>

</body>

</html>



本文转自 素颜猪 51CTO博客,原文链接:http://blog.51cto.com/suyanzhu/1895750
上一篇:UITableViewCell的高度与UILabel自适应


下一篇:微服务项目搭建