打开APP
userphoto
未登录

开通VIP,畅享免费电子书等14项超值服

开通VIP
animate.css制作酷炫文字特效

<!DOCTYPE html>

<html lang="zh">

<head>

<meta charset="UTF-8">

<metahttp-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

<meta name="viewport"content="width=device-width, initial-scale=1.0">

<title>animate.css制作酷炫文字特效 - </title>

 

<link href="css/bootstrap.min.css"rel="stylesheet">

<link rel="stylesheet"type="text/css" href="css/animate.min.css">

 

<style type="text/css">

         .long-shadow,.medium-shadow {

                   border:none;

                   -o-text-overflow:clip;

                   text-overflow:clip;

         }

         .long-shadow{

                   -webkit-box-sizing:content-box;

                   -moz-box-sizing:content-box;

                   box-sizing:content-box;

                   text-shadow:3px 3px 0 #4C6A92, 4px 4px 0 #4C6A92, 5px 5px 0 #4C6A92, 6px 6px 0 #4C6A92, 7px7px 0 #4C6A92, 8px 8px 0 #4C6A92, 9px 9px 0 #4C6A92, 10px 10px 0 #4C6A92, 11px11px 0 #4C6A92, 12px 12px 0 #4C6A92, 13px 13px 0 #4C6A92, 14px 14px 0 #4C6A92,15px 15px 0 #4C6A92, 16px 16px 0 #4C6A92, 17px 17px 0 #4C6A92, 18px 18px 0#4C6A92, 19px 19px 0 #4C6A92, 20px 20px 0 #4C6A92;

         }

         h1.animateTitle1 {

                   font-size:10vh;

                   letter-spacing:2.7vh;

                   color:#FFF;

                   padding:1em 0;

         }

         h4{font-size:34px; font-weight:bold;}.text-danger{ color:#000000}

</style>

 

</head>

<body>

 

<div class="container">

         <divclass="row">

                   <h1class="long-shadow"><spanclass="animateTitle1">ANIMA TEXT</span></h1>

                   <h2>演示DEMO</h2>

                   <divclass="well"><h4 class="demo1text-danger">ANIMATEXT</h4></div>

                   <h2>WithAnimate.css</h2>

                   <divclass="well"><h4 class="demo2 text-danger">Loremipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididuntut labore et dolore magna aliqua.</h4></div>

                   <h2>WordBy Word</h2>

                   <divclass="well"><h4 class="demo3text-danger">ANIMATEXT</h4></div>

                   <h2>Random</h2>

                   <divclass="well"><h4 class="demo5text-danger">ANIMATEXT</h4></div>

                   <h2>Reverse</h2>

                   <divclass="well"><h4 class="demo4text-danger">ANIMATEXT</h4></div>

         </div>

</div>

 

<script type="text/javascript"src="js/jquery.min.js"></script>

<script type="text/javascript"src="js/dist/animatext.min.js"></script>

<script type="text/javascript">

         $('.animateTitle1').animatext({

                   speed:300,

                   effect:'flipInY',

                   reverse:false

           });

         $(".demo1").animatext();

         $(".demo2").animatext({speed:150,

                   effect:'flipInX',

                   infinite:true

         });

         $(".demo3").animatext({speed:150,

                   mode:"words",

                   effect:'swing',

                   infinite:true

         });

         $(".demo4").animatext({speed:150,

                   effect:'bounceIn',

                   reverse:true,

                   infinite:true

         });

         $(".demo5").animatext({speed:150,

                   effect:'tada',

                   random:true,

                   infinite:true

         });

</script>

 

<div style="text-align:center;margin:50px0; font:normal 14px/24px 'MicroSoft YaHei';">

<p>适用浏览器:360FireFoxChromeSafariOpera、傲游、搜狗、世界之窗. 不支持IE8及以下浏览器。</p>

<p>来源:<a href="http://www.shaxiangift.com/"target="_blank"> </a></p>

</div>

</body>

</html>

本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请点击举报
打开APP,阅读全文并永久保存 查看更多类似文章
猜你喜欢
类似文章
【热】打开小程序,算一算2024你的财运
jQuery个人名片样式代码
DIV CSS优化
CSS 精华
【原】css实现两端对齐的3种方法
关于CSS样式优先级
阴影效果的小 demo
更多类似文章 >>
生活服务
热点新闻
分享 收藏 导长图 关注 下载文章
绑定账号成功
后续可登录账号畅享VIP特权!
如果VIP功能使用有故障,
可点击这里联系客服!

联系客服