首页 > 代码库 > jQuery10种不同动画效果的响应式全屏遮罩层

jQuery10种不同动画效果的响应式全屏遮罩层

遮罩层有很多今天介绍这个jQuery10种不同动画效果的响应式全屏遮罩层

 

效果预览

下载地址

实例代码

?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<div class="container">
            <header class="sucaihuo-header">
                <h1>全屏遮罩效果</h1>
                <nav class="sucaihuo-demos">
                    <a class="current-demo" href=http://www.mamicode.com/"index.html">Huge Inc</a>
                    <a href=http://www.mamicode.com/"index2.html">Corner</a>
                    <a href=http://www.mamicode.com/"index3.html">Slide down</a>
                    <a href=http://www.mamicode.com/"index5.html">Scale</a>
                    <a href=http://www.mamicode.com/"index6.html">Door</a>
                    <a href=http://www.mamicode.com/"index7.html">Content Push</a><br/>
                    <a href=http://www.mamicode.com/"index8.html">Content Scale</a>
                    <a href=http://www.mamicode.com/"index9.html">Corner Shape</a>
                    <a href=http://www.mamicode.com/"index10.html">Little Boxes</a>
                    <a href=http://www.mamicode.com/"index11.html">Simple Genie</a>
                    <a href=http://www.mamicode.com/"index12.html">Genie</a>
                </nav>
            </header>
            <section>
                <p>Overlay fades in and menu rotates slightly in perspective. As seen on <a href=http://www.mamicode.com/"http://hugeinc.com">Huge</a></p>
                <p><button id="trigger-overlay" type="button">Open Overlay</button></p>
            </section>
        </div><!-- /container -->
        <!-- open/close -->
        <div class="overlay overlay-hugeinc">
            <button type="button" class="overlay-close">Close</button>
            <nav>
                <ul>
                    <li><a href=http://www.mamicode.com/"#">Home</a></li>
                    <li><a href=http://www.mamicode.com/"#">jQuery</a></li>
                    <li><a href=http://www.mamicode.com/"#">Html5</a></li>
                    <li><a href=http://www.mamicode.com/"#">Css3</a></li>
                    <li><a href=http://www.mamicode.com/"#">Contact</a></li>
                </ul>
            </nav>
        </div>
        <script src=http://www.mamicode.com/"js/classie.js"></script>
        <script src=http://www.mamicode.com/"js/demo1.js"></script>

  转载

jQuery10种不同动画效果的响应式全屏遮罩层