酷炫的文字遮罩插件-ANIMATED KNOCKOUT LETTERS

所属分类:媒体-图像

 32001  335  查看评论 (4)
分享到微信朋友圈
X
酷炫的文字遮罩插件-ANIMATED KNOCKOUT LETTERS ie兼容10

不兼容ie浏览器

使用步骤

1、引入以下的js和css文件

<script src="jquery.min.js"></script>
<script src="jquery.lettering.js"></script>


2、在head标签中加入以下js代码

<script>
    // DOM Ready
    $(function() {
        $("#poster h1, #poster p").lettering();
        $("#poster p span").each(function() {
            $(this).css({
                top: -(Math.floor(Math.random() * 1001) + 1500),
                left: Math.floor(Math.random() * 1001) - 500,
            });
        });
        setTimeout(function() {
            $('html').addClass("step-one");
        },
        1000);
        setTimeout(function() {
            $('html').addClass("step-two");
        },
        3000);
    });
</script>


3、在body标签中加入以下格式的html代码

<div id="poster">
     
    <h1>
        jquery插件库
    </h1>

    <p>
        Coming 2011
    </p>
 
</div>	


3、有关的css样式也很重要,请参照网盘下载包中的源码,简洁易懂。

相关插件-图像

jQuery放大镜插件jqzoom.js

jQuery放大镜插件jqzoom.js
  图像
 100309  435

基于HTML5 Canvas实现的图片马赛克模糊特效

基于HTML5 Canvas实现的图片马赛克模糊特效
  图像
 29318  306

jQuery图片裁剪插件Cropit

Cropit 是款自定义裁剪和缩放图像的jQuery插件
  图像
 43768  341

SVG图像生成插件triangloid

triangloid是一个JavaScript库,可以将图像生成为多边形图像并输出成SVG格式。它是基于trianglify
  图像
 31368  334

讨论这个项目(4)回答他人问题或分享插件使用方法奖励jQ币 评论用户自律公约

    Fuyan 0
    2021/5/28 18:11:59
    冷焰火 0
    2019/5/29 15:01:15
    IE不支持,要它何用,background-clip: text; 回复
    GOODBOY 0
    2017/2/26 10:09:40
    hello_wld 0
    2016/1/18 16:01:21

    我去,这个很酷炫啊。怎么没有人评论

    回复
😃
  • 😀
  • 😉
  • 😥
  • 😵
  • 😫
  • 😘
  • 😡
  • 👍
  • 🌹
  • 👏
  • 🍺
  • 🍉
  • 🌙
  • 💖
  • 💔
😃
  • 😀
  • 😉
  • 😥
  • 😵
  • 😫
  • 😘
  • 😡
  • 👍
  • 🌹
  • 👏
  • 🍺
  • 🍉
  • 🌙
  • 💖
  • 💔
取消回复