css动画 animation
<p>hello_word</p>
p{
animation-name:textgo;(动画名)
animation-duration:3s;(动画时间)
animation-timing-function:速度曲线(ease,ease-in.ease-out,linear,)
// animation-iteration-count:动画次数(infinite)
//animation-direction:动画是否反向
// fill-mode:是否保留最后一整动画:如果保留值为forword
}
@keyframes textgo{
10%{
font-size:12px;
}
40%{
font-size:20px;
}
60%{
font-size:30px;
}
80%{
font-size:20px;
}
100%{
font-size:12px;
}
}
相关推荐
云端漂移 2020-07-17
wangdaren 2020-01-14
山兔与孟婆 2019-12-15
山兔与孟婆 2019-12-14
vavid 2020-04-20
aSuncat 2020-03-01
csdnuuu 2020-02-14
CaiKanXP 2020-01-12
lanzhusiyu 2020-01-05
zengni 2019-12-25
waterv 2019-12-10
sorryericsson 2014-01-16
Ladyseven 2020-10-22
mapaler 2020-07-17
淡风wisdon大大 2020-06-27
lanzhusiyu 2020-06-21
AlisaClass 2020-06-05