css制作雷达扫描的效果,[每天进步一点点~] uni-app css 制作雷达扫描、波浪移动动画效果...

本文介绍了如何使用uni-app的CSS实现雷达扫描效果和波浪移动动画。通过设置不同的渐变、动画关键帧和定位,创建了逼真的雷达旋转和波浪流动视觉效果。
摘要由CSDN通过智能技术生成

雷达扫描效果(背景换成纯色渐变了):

一键巡检

.top {

width: 100%;

height: 720rpx;

// 上到下渐变

background-image: linear-gradient(#28BC3E, rgba(50,215,75,0.6));

// background-image: url(/static/intelligentThunder/2_1_Compress.gif);

// background-repeat: no-repeat;

// background-size:100% 720rpx;

.device-status {

width: 290rpx;

height: 290rpx;

border-radius: 50%;

background-color: rgba(255,229,193,0.4);

}

.radar {

width: 290rpx;

height: 290rpx;

border-radius: 50%;

font-size: 28rpx;

background-color: rgba(255,229,193,0.4);

position: relative;

.wave-box {

width: 290rpx;

height: 290rpx;

}

.test-btn {

// width: 156rpx;

// height: 56rpx;

// border-radius: 28rpx;

// background-color: #fff;

position: absolute;

left: 50%;

bottom: 15%;

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

}

}

.radar::before {

content: '';

position: absolute;

width: calc(290rpx / 2);

height: calc(290rpx / 2);

background: linear-gradient(

45deg,

rgba(0, 0, 0, 0) 50%,

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值