分享一款基于jquery适合做图片类网站的特效。这是一款鼠标经过图片滑动弹出标题效果代码。效果图如下:
实现的代码。
html代码:
<div class="common"> <ul> <li class="listbox mr20"> <div class="listimg"> <a href="/"><img src="images/260x165.jpg" class="attachment-thumbnail wp-post-image" alt="图片特效,网页特效,js特效,jquery特效" /></a> <div class="summary"> <div class="summarytxt"> <p>适合做图片类网站的特效,鼠标经过弹出标题,效果很不错</p> </div> </div> </div> <div class="listinfo"> <div class="listtitle"><a href="/">适合做图片类网站的特效</a></div> <div class="listtag"><a href="/" rel="tag">图片特效</a><a href="/" rel="tag">网页特效</a></div> <div class="listdate">2015-06-18</div> <div class="listview">6253</div> <div class="listcomment">16</div> <div class="listdemo"><a href="/" rel="external nofollow" target="_blank">演示</a></div> </div> </li> <li class="listbox mr20"> <div class="listimg"> <a href="/"><img src="images/260x165.jpg" class="attachment-thumbnail wp-post-image" alt="图片特效,网页特效,js特效,jquery特效" /></a> <div class="summary"> <div class="summarytxt"> <p>适合做图片类网站的特效,鼠标经过弹出标题,效果很不错</p> </div> </div> </div> <div class="listinfo"> <div class="listtitle"><a href="/">适合做图片类网站的特效</a></div> <div class="listtag"><a href="/" rel="tag">图片特效</a><a href="/" rel="tag">网页特效</a></div> <div class="listdate">2015-06-18</div> <div class="listview">6253</div> <div class="listcomment">16</div> <div class="listdemo"><a href="/" rel="external nofollow" target="_blank">演示</a></div> </div> </li> <li class="listbox mr20"> <div class="listimg"> <a href="/"><img src="images/260x165.jpg" class="attachment-thumbnail wp-post-image" alt="图片特效,网页特效,js特效,jquery特效" /></a> <div class="summary"> <div class="summarytxt"> <p>适合做图片类网站的特效,鼠标经过弹出标题,效果很不错</p> </div> </div> </div> <div class="listinfo"> <div class="listtitle"><a href="/">适合做图片类网站的特效</a></div> <div class="listtag"><a href="/" rel="tag">图片特效</a><a href="/" rel="tag">网页特效</a></div> <div class="listdate">2015-06-18</div> <div class="listview">6253</div> <div class="listcomment">16</div> <div class="listdemo"><a href="/" rel="external nofollow" target="_blank">演示</a></div> </div> </li> <li class="listbox mr20"> <div class="listimg"> <a href="/"><img src="images/260x165.jpg" class="attachment-thumbnail wp-post-image" alt="图片特效,网页特效,js特效,jquery特效" /></a> <div class="summary"> <div class="summarytxt"> <p>适合做图片类网站的特效,鼠标经过弹出标题,效果很不错</p> </div> </div> </div> <div class="listinfo"> <div class="listtitle"><a href="/">适合做图片类网站的特效</a></div> <div class="listtag"><a href="/" rel="tag">图片特效</a><a href="/" rel="tag">网页特效</a></div> <div class="listdate">2015-06-18</div> <div class="listview">6253</div> <div class="listcomment">16</div> <div class="listdemo"><a href="/" rel="external nofollow" target="_blank">演示</a></div> </div> </li> <li class="listbox mr20"> <div class="listimg"> <a href="/"><img src="images/260x165.jpg" class="attachment-thumbnail wp-post-image" alt="图片特效,网页特效,js特效,jquery特效" /></a> <div class="summary"> <div class="summarytxt"> <p>适合做图片类网站的特效,鼠标经过弹出标题,效果很不错</p> </div> </div> </div> <div class="listinfo"> <div class="listtitle"><a href="/">适合做图片类网站的特效</a></div> <div class="listtag"><a href="/" rel="tag">图片特效</a><a href="/" rel="tag">网页特效</a></div> <div class="listdate">2015-06-18</div> <div class="listview">6253</div> <div class="listcomment">16</div> <div class="listdemo"><a href="/" rel="external nofollow" target="_blank">演示</a></div> </div> </li> <li class="listbox mr20"> <div class="listimg"> <a href="/"><img src="images/260x165.jpg" class="attachment-thumbnail wp-post-image" alt="图片特效,网页特效,js特效,jquery特效" /></a> <div class="summary"> <div class="summarytxt"> <p>适合做图片类网站的特效,鼠标经过弹出标题,效果很不错</p> </div> </div> </div> <div class="listinfo"> <div class="listtitle"><a href="/">适合做图片类网站的特效</a></div> <div class="listtag"><a href="/" rel="tag">图片特效</a><a href="/" rel="tag">网页特效</a></div> <div class="listdate">2015-06-18</div> <div class="listview">6253</div> <div class="listcomment">16</div> <div class="listdemo"><a href="/" rel="external nofollow" target="_blank">演示</a></div> </div> </li> </ul> <div class="clear"></div> </div>
via:http://www.w2bc.com/Article/46692
时间: 2024-10-10 16:34:41