Bootstrap历练实例:带链接的警告

<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>Bootstrap历练实例:带链接的警告</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link rel="stylesheet" href="bootstrap-3.3.5-dist/css/bootstrap.min.css" />
</head>
<body>
<div style="padding:10px">
<div class="alert alert-success">
<a href="#" class="alert-link"> 成功,很好地完成了提交。</a>
</div>
<div class="alert alert-info">
<a href="#" class="alert-link">信息,这是一个很重要的信息。</a>
</div>
<div class="alert alert-warning">
<a href="#" class="alert-link">警告,这个不能提交。</a>
</div>
<div class="alert alert-danger">
<a href="#" class="alert-link">
错误,这个代码需要重新修改。
</a>
</div>
</div>
<script src="jQuery/jquery-2.1.4.js"></script>
<script src="bootstrap-3.3.5-dist/js/bootstrap.min.js"></script>
</body>
</html>

posted @ 2015-11-26 21:58  melao2006  阅读(120)  评论(0编辑  收藏  举报