当前位置: 首页 > news >正文

【CSS3】录音中。。。

在这里插入图片描述
ai写的这个动画效果感觉是真不错,记录下来

<divv-if="recordText.includes('录音中')"class="recording-popup"flexflex-colitems-centerjustify-center><div class="recording-animation"><div class="recording-wave"></div><div class="recording-wave"></div><div class="recording-wave"></div></div><div mt-2 text-white>{{ recordText }}</div></div>
/* 录音悬浮小窗样式 */
.recording-popup {position: fixed;top: 50%;left: 50%;transform: translate(-50%, -50%);background-color: rgba(0, 0, 0, 0.7);border-radius: 12px;padding: 15px;z-index: 1000;box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);width: 120px;height: 120px;
}.recording-animation {position: relative;width: 60px;height: 60px;display: flex;align-items: center;justify-content: center;
}.recording-wave {position: absolute;width: 60px;height: 60px;border: 2px solid #ff4d4f;border-radius: 50%;animation: recording-wave-animation 1.5s infinite;
}.recording-wave:nth-child(2) {animation-delay: 0.5s;
}.recording-wave:nth-child(3) {animation-delay: 1s;
}@keyframes recording-wave-animation {0% {transform: scale(0.5);opacity: 1;}100% {transform: scale(1.5);opacity: 0;}
}
http://www.lryc.cn/news/618433.html

相关文章:

  • 飞算JavaAI 2.0.0深度测评:自然语言编程如何重塑Java开发范式
  • 基于 gRPC 的接口设计、性能优化与生产实践
  • 《软件工程导论》实验报告一 软件工程文档
  • 新手向:Python编写简易翻译工具
  • Jmeter性能测试过程中遇到connection reset的解决方案
  • 易语言模拟真人鼠标轨迹算法 - 非贝塞尔曲线
  • HTTP应用层协议-长连接
  • 意图驱动——机器人大脑的正确驱动方式
  • 大模型驱动的服务革命:2025智能客服机器人选型与落地路径
  • 5-终端安全检测和防御技术
  • 【北京见闻】2025年世界机器人大会——所见所闻及所思
  • Node.js 精选:50 款文件处理与开发环境工具库
  • 最终章【1】Epson机器人篇
  • Ansible 自动化介绍
  • 什么时候用WS(WebSocket),什么使用用SSE(Server-Sent Events)?
  • windows git安装步骤
  • SSH浅析
  • Redis面试精讲 Day 19:Redis缓存设计模式与策略
  • 攻防世界—easyTornado
  • Jenkins 实战指南-项目自动构建部署全流程通关
  • 云原生作业(tomcat)
  • Flutter屏幕和字体适配(ScreenUtil)
  • Flutter GridView的基本使用
  • 【工具】通用文档转换器 推荐 Markdown 转为 Word 或者 Pdf格式 可以批量或者通过代码调用
  • Flutter 基于google验证登录实现
  • 肖臻《区块链技术与应用》第九讲:比特币交易的“智能”核心:深入解析脚本语言Script
  • Ubuntu系统安装学习笔记(Win双系统+非U盘安装)
  • AI智能体平台大爆发,2025AI智能体平台TOP30
  • ​​LangChain
  • 肖臻《区块链技术与应用》第十讲:深入解析硬分叉与软分叉