jQuery实现方格渐变遮罩特效



47 186 63



特效描述:jQuery实现 方格渐变 遮罩特效,jQuery实现方格渐变遮罩特效

代码结构

1. 引入CSS

<link rel="stylesheet" href="css/style.css" />
<link rel="stylesheet" href="css/shCore.css" />
<link rel="stylesheet" href="css/shCoreEclipse.css" />
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,700&subset=latin,latin-ext' rel='stylesheet' type='text/css'>

2. 引入JS

<script src="js/jquery.min.js"></script>
<script src="js/jquery.easing.min.js"></script>
<script src="js/bloxhover.jquery.min.js"></script>
<script src="js/shCore.js"></script>
<script src="js/shBrushXml.js"></script>

3. HTML代码

        <div id='wrap'>
            <div class="imagediv1 imgdivs">
                <img src="images/1.jpg"/>
                <div>
                    <h1>RIVER OF LOREM IPSUM DOLOR SIT</h1>
                    <h3>Any HTML Code can go here! Consectetur adipisicing elit, sed.</h3>
                </div> 
            </div>
            <br/><br/><br/>
            <div class='codeWrap'>
                <div class='codeTitle'>Show Code For This Example</div>
            </div>
            <br/><br/><br/><br/>
            <div class='leftCol'>
                <div class="imagediv2 imgdivs">
                    <img src="images/2.jpg"/>
                    <div>
                        <a href='#'><img src='images/link.png' style='margin-right: 20px;'/></a><a href='#'><img src='images/zoom.png'/></a>
                    </div>
                </div>  
            <br/><br/><br/>
            <div class='codeWrap'>
                <div class='codeTitle'>Show Code For This Example</div>
            </div>
            </div>
            <div class='rightCol'>
                <div class="imagediv3 imgdivs">
                    <img src="images/3.jpg"/>
                    <div>
                        <h1>DESERT OF LOREM IPSUM DOLOR SIT</h1>
                        <h3>Any HTML Code can go here! Consectetur adipisicing elit, sed.</h3>
                    </div>
                </div>  
            <br/><br/><br/>
            <div class='codeWrap'>
                <div class='codeTitle'>Show Code For This Example</div>
            </div>
            </div>
            <div class='clear'></div>
        </div>
   <div style="text-align:center;clear:both">
</div>     



用户评论
大牛,别默默的看了,快登录帮我点评一下吧!:)      登录 | 注册


热门标签: 滑动星星打分 其他 鼠标悬停

×
×

注册

官方QQ群

扫描上面二维码加微信群

官方QQ群

jQuery/js讨论群
群号:642649996
Css3+Html5讨论群
群号:322131262

加群请备注:从官网了解到