案例:Foundation案例     状态:可编辑再运行    进入竖版
 运行结果 
x
 
1
<!DOCTYPE html>
2
<html>
3
<head>
4
  <title>Foundation 实例</title>
5
  <meta charset="utf-8">
6
  <meta name="viewport" content="width=device-width, initial-scale=1">
7
  <link rel="stylesheet" href="/css/foundation5.5.3/foundation.min.css">
8
  <script src="/js/bootstrap/jquery.min.js"></script>
9
  <script src="/js/foundation5.5.3/foundation.min.js"></script>
10
  <script src="/js/foundation5.5.3/modernizr.js"></script>
11
</head>
12
<body>
13
14
<div style="padding:20px;">
15
  <h2>圆角提醒框</h2>
16
  <div data-alert class="alert-box">
17
    Default Alert box
18
  </div>
19
20
  <div data-alert class="alert-box radius">
21
    Default Alert box with a radius.
22
  </div>
23
24
  <div data-alert class="alert-box secondary radius">
25
    Secondy Alert box with a radius.
26
  </div>
27
28
  <div data-alert class="alert-box success radius">
29
    <strong>Success!</strong> Alert box with a radius.
30
  </div>
31
32
  <div data-alert class="alert-box info round">
33
      <strong>Info!</strong> Alert box that is rounded.
34
  </div>
35
36
  <div data-alert class="alert-box warning round">
37
      <strong>Warning!</strong> Alert box that is rounded.
38
  </div>
39
40
  <div data-alert class="alert-box alert round">
41
      <strong>Alert!</strong> Alert box that is rounded.
42
  </div>
43
</div>
44
45
</body>
46
</html>
47