css波纹动画在移动端,css3 animation 实现波纹动画

实现效果

1460000021825862

实现代码

//html

//less

.coment {

width: 1200px;

height: 100vh;

margin: 100px auto;

background-color: purple;

.ima {

float: right;

position: relative;

width: 816px;

height: 910px;

background-color: #fff;

.cc {

position: absolute;

width: 20px;

height: 20px;

opacity: 1;

background-color: #9cdeff;

border-radius: 50%;

top: 50%;

left: 49.5%;

transform: translate(-50%, -50%);

animation: circulmove 4s infinite linear;

}

.cc1 {

animation: circulmove 4s 1s infinite linear;

}

.cc2 {

animation: circulmove 4s 2s infinite linear;

}

.cc3 {

animation: circulmove 4s 3s infinite linear;

}

.cc4 {

animation: circulmove 4s 4s infinite linear;

}

.image {

position: absolute;

z-index: 999;

}

}

}

@keyframes circulmove {

0% {

width: 20px;

height: 20px;

opacity: 1;

}

100% {

width: 816px;

height: 910px;

opacity: 0;

}

}

项目解说

以上代码只是项目中的一部分,但是已经可以完全明了的解释以上的问题,可以直接赋值代码,查看效果,如果你在其中发现了什么问题,请慷慨提出来,大家一起进步

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值