html涟漪效果,涟漪效果.html

涟漪效果

.video-player a {

display: inline-block;

width: 80px;

height: 80px;

border-radius: 50%;

line-height: 80px;

text-align: center;

background-color: #ff6348;

color: #fff;

position: relative

}

.video-player a:after {

content: "";

position: absolute;

left: -7px;

top: -7px;

height: 90px;

width: 90px;

border: 3px solid #ff6348;

border-radius: 50%;

-webkit-animation: icon-bubble 1s infinite forwards linear;

animation: icon-bubble 1s infinite forwards linear;

}

.video-player a:before {

content: "";

position: absolute;

left: -7px;

top: -7px;

height: 90px;

width: 90px;

border: 3px solid #ff6348;

border-radius: 50%;

-webkit-animation: icon-bubble 1s infinite forwards linear 0.5s;

animation: icon-bubble 1s infinite forwards linear 0.5s;

}

@-webkit-keyframes icon-bubble {

0% {

-webkit-transform: scale(0.85);

transform: scale(0.85);

opacity: 1;

}

25% {

-webkit-transform: scale(1.05);

transform: scale(1.05);

opacity: 0.8;

}

50% {

-webkit-transform: scale(1.2);

transform: scale(1.2);

opacity: 0.55;

}

75% {

-webkit-transform: scale(1.32);

transform: scale(1.32);

opacity: 0.3;

}

100% {

-webkit-transform: scale(1.4);

transform: scale(1.4);

opacity: 0;

}

}

@-webkit-keyframes icon-bubble {

0% {

-webkit-transform: scale(0.85);

transform: scale(0.85);

opacity: 1;

}

25% {

-webkit-transform: scale(1.05);

transform: scale(1.05);

opacity: 0.8;

}

50% {

-webkit-transform: scale(1.2);

transform: scale(1.2);

opacity: 0.55;

}

75% {

-webkit-transform: scale(1.32);

transform: scale(1.32);

opacity: 0.3;

}

100% {

-webkit-transform: scale(1.4);

transform: scale(1.4);

opacity: 0;

}

}

@keyframes icon-bubble {

0% {

-webkit-transform: scale(0.85);

transform: scale(0.85);

opacity: 1;

}

25% {

-webkit-transform: scale(1.05);

transform: scale(1.05);

opacity: 0.8;

}

50% {

-webkit-transform: scale(1.2);

transform: scale(1.2);

opacity: 0.55;

}

75% {

-webkit-transform: scale(1.32);

transform: scale(1.32);

opacity: 0.3;

}

100% {

-webkit-transform: scale(1.4);

transform: scale(1.4);

opacity: 0;

}

}

一键复制

编辑

Web IDE

原始数据

按行查看

历史

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值