<link rel="stylesheet" type="text/css" href="css/demo.css">
<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, 7px 7px 0 #4C6A92, 8px 8px 0 #4C6A92, 9px 9px 0 #4C6A92, 10px 10px 0 #4C6A92, 11px 11px 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;
}
</style> <div class="container">
<div class="row">
<h1 class="long-shadow"><span class="animateTitle1">ANIMA TEXT</span></h1>
<h2>演示</h2>
<div class="well"><h4 class="demo1 text-danger">青春,人生当中最美好的时光,不知不觉就会逝去,正因如此,我们才更加感怀青春。</h4></div>
<h2>With Animate.css</h2>
<div class="well"><h4 class="demo2 text-danger">青春,人生当中最美好的时光,不知不觉就会逝去,正因如此,我们才更加感怀青春。</h4></div>
<h2>Word By Word</h2>
<div class="well"><h4 class="demo3 text-danger">青春,人生当中最美好的时光,不知不觉就会逝去,正因如此,我们才更加感怀青春。</h4></div>
<h2>Random</h2>
<div class="well"><h4 class="demo5 text-danger">青春,人生当中最美好的时光,不知不觉就会逝去,正因如此,我们才更加感怀青春。</h4></div>
<h2>Reverse</h2>
<div class="well"><h4 class="demo4 text-danger">青春,人生当中最美好的时光,不知不觉就会逝去,正因如此,我们才更加感怀青春。</h4></div>
</div>
</div> <script type="text/javascript" src="js/jquery-1.11.0.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: 'tada',
reverse: true,
infinite: true
});
$(".demo5").animatext({speed: 150,
effect: 'tada',
random: true,
infinite: true
});
</script>
*
回帖描述:*
链接类型:*
下载链接:*
描述:*
回帖描述:*
链接类型:*
阅读权限:*
下载链接:



聚优部落技术论坛 © 版权所有 鲁ICP备15007479号-6
Copyright(C)web.com, All Rights Reserved.
