html字体跳动代码,css跳动的文字动画(原创)

.nav_li_pb {

font-size:18px;

color:#ef9208;

}

.nav_li_pb i {

font-style:normal;

}

.nav_li_pb i {

display:inline-block;

vertical-align:bottom;

-webkit-animation-name:fontSizeUp1;

animation-name:fontSizeUp1;

-webkit-animation-duration:5s;

animation-duration:5s;

-webkit-animation-timing-function:steps(1,end);

animation-timing-function:steps(1,end);

-webkit-animation-fill-mode:none;

animation-fill-mode:none;

-webkit-animation-iteration-count:infinite;

animation-iteration-count:infinite;

-webkit-transform-origin:50% 75%;

transform-origin:50% 75%;

}

.nav_li_pb i:nth-of-type(1) {

-webkit-animation-delay:0s;

animation-delay:0s;

}

.nav_li_pb i:nth-of-type(2) {

-webkit-animation-delay:0.5s;

animation-delay:0.5s;

}

.nav_li_pb i:nth-of-type(3) {

-webkit-animation-delay:1s;

animation-delay:1s;

}

.nav_li_pb i:nth-of-type(4) {

-webkit-animation-delay:1.5s;

animation-delay:1.5s;

}

.nav_li_pb i:nth-of-type(5) {

-webkit-animation-delay:2s;

animation-delay:2s;

}

.nav_li_pb i:nth-of-type(6) {

-webkit-animation-delay:2.5s;

animation-delay:2.5s;

}

.nav_li_pb i:nth-of-type(7) {

-webkit-animation-delay:3s;

animation-delay:3s;

}

.nav_li_pb i:nth-of-type(8) {

-webkit-animation-delay:3.5s;

animation-delay:3.5s;

}

.nav_li_pb i:nth-of-type(9) {

-webkit-animation-delay:4s;

animation-delay:4s;

}

.nav_li_pb i:nth-of-type(10) {

-webkit-animation-delay:4.5s;

animation-delay:4.5s;

}

.nav_li_pb i:nth-of-type(11) {

-webkit-animation-delay:5s;

animation-delay:5s;

}

.nav_li_pb i:nth-of-type(12) {

-webkit-animation-delay:5.5s;

animation-delay:5.5s;

}

@-webkit-keyframes fontSizeUp1 {

0% {

-webkit-transform:scale(1.25);

transform:scale(1.25);

}

7%,100% {

-webkit-transform:scale(1);

transform:scale(1);

}

}@keyframes fontSizeUp1 {

0% {

-webkit-transform:scale(1.25);

transform:scale(1.25);

}

7%,100% {

-webkit-transform:scale(1);

transform:scale(1);

}

}.nav_li_pb .fontSizeUp1 {

-webkit-animation-name:fontSizeUp1;

animation-name:fontSizeUp1;

}

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值