bootstrap标签、消息提示

<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>bootstrap</title>
	<style type="text/css">
		span.label{
			position: relative;
			top:20px;
			left:20px;		
			margin:10px;
		}
	</style>
</head>
<body>
	<script src="jquery.min.js"></script>
	<link rel="stylesheet" type="text/css" href="bootstrap/css/bootstrap/3.3.6/bootstrap.min.css">
	<script src="bootstrap/js/bootstrap/3.3.6/bootstrap.min.js"></script>
	
	<span class="label label-default">默认</span><!--各类标签-->
	<span class="label label-primary">强调</span>
	<span class="label label-success">成功</span>
	<span class="label label-info">通知</span>
	<span class="label label-warning">警告</span>
	<span class="label label-danger">危险</span><br><br>
	<br><br>
	<a href="#">新的消息<span class="badge">42</span></a><br><br><br><!--超链-->
	<button class="btn btn-primary">
		未读消息<span class="badge">4</span>
	</button>
</body>
</html>

bootstrap标签、消息提示_第1张图片

你可能感兴趣的:(bootstrap,bootstrap,消息提示)