jquery textillate文字入场出场css动画效果代码
代码语言:html
所属分类:动画
代码描述:jquery textillate文字入场出场css动画效果代码,实现了十几种不同的字符文字字母入场出场css动画效果。
下面为部分代码预览,完整代码请点击下载或在bfwstudio webide中打开
<!DOCTYPE HTML>
<html>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title></title>
<link type="text/css" rel="stylesheet" href="//repo.bfw.wiki/bfwrepo/css/animate.css">
<style>
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
body {
margin: 0;
background: #282828;
color: #eee;
font-family: 'Helvetica Neue', Arial, 'Liberation Sans', FreeSans, sans-serif;
font-size: 14px;
}
h1, h2, h3, h4, h5, h6 {
margin: 10px 0;
font-weight: 200;
}
h2 {
font-size: 1.8em;
font-weight: 200;
color: #888;
letter-spacing: 1px;
}
section {
margin-bottom: 20px;
}
p {
margin: 0;
line-height: 1.5;
font-weight: 200;
}
a {
color: #00aaee;
text-decoration: none;
}
a:hover {
color: #0077a2;
text-decoration: underline;
}
.hide {
display: none;
}
.decal {
height: 2px;
background-color: #000;
border-bottom: 1px solid #333;
}
.container {
max-width: 940px;
margin-right: auto;
margin-left: auto;
}
/* EFFECTS
***************/
.glow {
text-shadow: 0 0 0 rgba(0, 0, 0, 0);
-webkit-transition: text-shadow 1s linear;
-moz-transition: text-shadow 1s linear;
-o-transition: text-shadow 1s linear;
transition: text-shadow 1s linear;
}
.glow.in {
text-shadow:
0.025em 0.025em 0.025em rgba(0, 0, 0, 0.8),
0 0 0.5em rgba(255, 255, 255, 0.3);
}
.fade {
opacity: 0;
-webkit-transition: opacity 1s linear;
-moz-transition: opacity 1s linear;
-o-transition: opacity 1s linear;
transition: opacity 1s linear;
}
.fade.in {
opacity: 1;
}
/* BUTTONS
***************/
.btn {
color: #fff;
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
display: inline-block;
text-decoration: none;
font-weight: 200;
text-align: center;
vertical-align: middle;
cursor: pointer;
border-radius: 0.5em;
padding: 0.8em 1.2em;
background-color: #ED303C;
background-image: -moz-linear-gradient(top, #ED303C, #8D121A);
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ED303C), to(#8D121A));
background-image: -webkit-linear-gradient(top, #ED303C, #8D121A);
background-image: -o-linear-gradient(top, #ED303C, #8D121A);
background-image: linear-gradient(tobottom, #ED303C, #8D121A);
background-repeat: repeat-x;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
-moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 5px rgba(0,0,0,.25);
}
.btn:hover,
.btn-primary:active,
.btn-primary.active,
.........完整代码请登录后点击上方下载按钮下载查看
















网友评论0