码迷,mamicode.com
首页 > 其他好文 > 详细

警告框--alert

时间:2015-09-25 08:27:48      阅读:206      评论:0      收藏:0      [点我收藏+]

标签:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-COMPATIBLE" content="IE=edge">
<meta name="viewport" content="width=device-width;initial-scale=1">
<title>Bootstrap</title>
<link rel="stylesheet" type="text/css" href="bootstrap.min.css">
<!-- <link rel="stylesheet" type="text/css" href="foo.css"> -->
<script src="jquery-1.11.3.js"></script>
<script src="bootstrap.min.js"></script>
<script src="foo.js"></script>
</head>
<body>
<div class="container">
<div class="alert alert-success" role="alert">
<strong>Success!</strong>You just do it.
</div>

<div class="alert alert-danger alert-dismissible" role="alert">
<button type="button" class="close" data-dismiss="alert">
<span aria-hidden="true">&times;</span></button>
<strong>Danger!&nbsp;</strong>Please note<a href="#" class="alert-link"> your action.</a>
</div>
</div>
</body>
</html>

警告框--alert

标签:

原文地址:http://www.cnblogs.com/htmlphp/p/4837117.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!