编程学习网为您整理以下代码实例,主要实现:Bootstrap红色背景颜色,希望可以帮到各位朋友。
<!DOCTYPE HTML>
<HTML>
<head>
<Title>bootstrap Example</Title>
<link href = "/bootstrap/CSS/bootstrap.min.CSS" rel = "stylesheet">
<script src = "/scripts/jquery.min.Js"></script>
<script src = "/bootstrap/Js/bootstrap.min.Js"></script>
</head>
<body>
<div class = "container">
<button type = "button" class = "btn btn-primary btn-block">CategorIEs</button>
</div>
<div class = "container">
<a href = "#">Tech <span class="badge">95</span></a><br>
<a href = "#">Entertainment <span class="badge">30</span></a><br>
<a href = "#">Research <span class="badge">9</span></a><br>
<a href = "#">Viral <span class="badge">20</span></a><br>
<a href = "#">Sport <span class="badge">105</span></a>
</div>
<div class = "container">
<br><p>Do not click below:</p>
<button type="button" class="btn btn-danger">Danger</button>
</div>
</body>
</HTML>
本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!