案例: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
  <p>当你需要实现只显示一张缩略图时你可以在 <code> &lt;ul&gt;</code> 中使用 <code>.clearing-feature</code> 类并在<code>&lt;li&gt;</code> 中使用 <code>.clearing-featured-img</code> 类。</p>
17
  <p>在新窗口打开查看效果更好,打开新窗口 <a target="_blank" href="/jsjq/foundation/tryfoundation_lightbox_feature.htm">点击这里</a></p>
18
  <ul class="clearing-thumbs clearing-feature" data-clearing>
19
    <li><a href="/img/eg_landscape.jpg" class="th"><img data-caption="The Pulpit Rock" src="/img/eg_landscape.jpg" width="200" height="100"></a></li>
20
    <li><a href="/img/eg_landscape2.jpg" class="th"><img data-caption="Sunrise Skies" src="/img/eg_landscape2.jpg" width="200" height="100"></a></li>
21
    <li class="clearing-featured-img"><a href="/img/eg_landscape3.jpg" class="th"><img data-caption="Sunshine Beach" src="/img/eg_landscape3.jpg" width="200" height="100"></a></li>
22
  </ul>
23
</div>
24

 运行结果 
 北美留学生论坛