案例:Bootstrap案例     状态:可编辑再运行    进入横版
x
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
    <meta charset="utf-8"> 
5
    <title>Bootstrap 实例 - 可取消的警告(Dismissal Alerts)</title>
6
    <link rel="stylesheet" href="/css/bootstrap/bootstrap3.3.7.min.css">
7
    <script src="/js/bootstrap/jquery.min.js"></script>
8
    <script src="/js/bootstrap/bootstrap3.3.7.min.js"></script>
9
</head>
10
<body>
11
12
<div class="alert alert-success alert-dismissable">
13
    <button type="button" class="close" data-dismiss="alert"
14
            aria-hidden="true">
15
        &times;
16
    </button>
17
    成功!很好地完成了提交。
18
</div>
19
<div class="alert alert-info alert-dismissable">
20
    <button type="button" class="close" data-dismiss="alert"
21
            aria-hidden="true">
22
        &times;
23
    </button>
24
    信息!请注意这个信息。

 运行结果 
 北美留学生论坛