当前位置: 首页 > 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.dtcms.com/a/327252.html

相关文章:

  • aspose word for java 使用书签进行内容填充和更新
  • AppStorageV2:鸿蒙全局状态管理详解-ArkUI本地存储
  • django 如何读取项目根目录下的文件内容
  • Python常用的5种中文分词工具
  • 力扣 hot100 Day71
  • Claude Code,Gemini CLI,Trae-agent, Qwen Code 使用对比及感受
  • 【数据分享】2020-2022年我国乡镇的逐日最高气温数据(Shp/Excel格式)
  • ABAC 权限策略扩展
  • 在达梦数据库中使用group by 命令报错问题
  • MCU中的液晶显示屏LCD(Liquid Crystal Display)控制器
  • Python 正则表达式 re.findall()
  • special topic 11 (1)
  • 【Linux系统】详解Ext2,文件系统
  • 打印流水号条形码
  • 标注工具组件功能文档
  • 如何将新建的Anaconda虚拟环境导入Juputer内核中?
  • Spring Boot项目通过RestTemplate调用三方接口详细教程
  • 系统架构设计师备考之架构设计实践知识
  • 完整反作弊系统架构(技术讲解)
  • 如何解决Unexpected token ‘<’, “<!doctype “… is not valid JSON 报错问题
  • MyBatis持久层实现
  • 人工智能概念:常见的大模型微调方法
  • Web学习笔记5
  • Java设计模式-快速入门
  • LeetCode算法领域经典入门题目之“Two Sum”问题
  • 1.4.1 副驾驶(Copilot)模式:让人工智能大模型成为你的指导和建议者
  • 从零开始之stm32之CAN通信
  • 聚合搜索中的设计模式
  • 鲲鹏arm服务器安装neo4j社区版,实现图书库自然语言检索基础
  • leetcode49.字母异位词分组