一个小图标特效,挺有趣的,代码也很容易懂。
jQ小图标上下滑动特效:
代码如下:
.tubiao{ width: 300px; height: 100px; margin: 100px auto; } a{ position: relative; padding: 10px; display: inline-block; text-decoration: none; color: #000; text-align: center; } i{ position: absolute; left: 5px; top: -20px; opacity: 1; } 我的
你的
他的
好的
坏的
/*css和html不解释*/ /*jquery库,路径这里用汉字,我是看的方便,实际建议用英文*/
以上就是基于jQuery制作小图标上下滑动特效的详细内容,更多请关注本站其它相关文章!