案例: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
  <link rel="stylesheet" href="/css/foundation5.5.3/foundation-icons.css">
9
  <script src="/js/bootstrap/jquery.min.js"></script>
10
  <script src="/js/foundation5.5.3/foundation.min.js"></script>
11
  <script src="/js/foundation5.5.3/modernizr.js"></script>
12
</head>
13
<body>
14
15
<div style="padding:20px;">
16
<h2>图标实例</h2>
17
<p>Cloud icon: <i class="fi-cloud"></i></p>    
18
<p>Cloud icon as a link:
19
  <a href="#"><i class="fi-cloud"></i></a>
20
</p>
21
<p>Styled Cloud icon: <i class="fi-cloud" style="font-size:35px;color:red;"></i></p>    
22
<p>Home icon: <i class="fi-home"></i></p>
23
<p>Home icon on a button:
24
  <button type="button" class="button">
25
    <i class="fi-home"></i> Home 
26
  </button>
27
</p>
28
<p>Home icon on a green button:
29
  <button type="button" class="button success">
30
    <i class="fi-home"></i> Home 
31
  </button>
32
</p>
33
<p>Home icon on a large, light blue link button:
34
  <a href="#" class="button info large">
35
    <i class="fi-home"></i> Home 
36
  </a>
37
</p> 
38
</div>
39
40
</body>
41
</html>