性能
需注意帧率: 平均 53.7 fps,p5 29.9 · 长任务: 0 个,共 0 毫秒,最长 0 毫秒 · 源码 gzip 4.5 KB · 运行时 2.2 KB
linesApache-2.0加载动画Material Loaders
theIYD 用纯 HTML 和 CSS 做的加载动画。按 Apache-2.0 许可从 Material Loaders 收录,此处为实时预览。
质量报告
等级和分数来自构建或测试时跑过的自动检查。没跑过的项目会标成「未检测」,不会填假数据。
帧率: 平均 53.7 fps,p5 29.9 · 长任务: 0 个,共 0 毫秒,最长 0 毫秒 · 源码 gzip 4.5 KB · 运行时 2.2 KB
问题 0 · 读屏: 需注意
已响应减弱动效
无溢出
帧率和长任务是在无界面的 Chromium 里用软件 WebGL 测的,只适合在本站组件之间比较,不代表真机表现。
没有 axe-core 违规。

检测于 2026年11月15日 · 数据来自自动脚本,不是手工填写。
按实际尺寸显示。
复制内容以许可声明开头,使用代码时请保留。
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>
<div class="line"></div>/* Copyright 2017 Idrees Dargahwala
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and limitations under the License. */
.line {
position: absolute;
top: 50%;
margin-left: 10px;
width: 60px;
height: 4px;
background: #f44336;
-webkit-animation: spin 1.5s infinite ease;
animation: spin 1.5s infinite ease;
border-radius: 20px; }
.line:nth-of-type(2) {
-webkit-animation-delay: 0.1s;
animation-delay: 0.1s;
background: #2196f3; }
.line:nth-of-type(3) {
-webkit-animation-delay: 0.2s;
animation-delay: 0.2s;
background: #4caf50; }
.line:nth-of-type(4) {
-webkit-animation-delay: 0.3s;
animation-delay: 0.3s;
background: #ffeb3b; }
@keyframes spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg); }
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg); } }
@keyframes spin {
0% {
-webkit-transform: translate(-50%, -50%) rotate(0);
transform: translate(-50%, -50%) rotate(0); }
100% {
-webkit-transform: translate(-50%, -50%) rotate(360deg);
transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes spin {
100% {
-webkit-transform: rotate(360deg);
transform: rotate(360deg); } }控件 · HTML · CSS · JS
直接改代码,再用控件微调,预览会随输入实时更新。

在线编辑每个组件,用控件微调,下载完整源码,复制进阶提示词。
一次性 $49占位价格
测试模式:不会真实扣款。
免费:预览、复制按钮和课程说明。
红、蓝、绿、黄四条圆头线依次旋转,彼此相隔 0.1 秒、周期 1.5 秒,像一把欢快的风扇。
Google 风格应用、儿童产品和多彩品牌。
改 #f44336、#2196f3、#4caf50 和 #ffeb3b 颜色、60px × 4px 的线条和带 0.1s 延迟的 1.5s spin。
用纯 HTML、CSS 和 JavaScript(不用框架)做一个「四色旋转线」组件。红、蓝、绿、黄四条圆头线依次旋转,彼此相隔 0.1 秒、周期 1.5 秒,像一把欢快的风扇。 适用场景:Google 风格应用、儿童产品和多彩品牌。 开放这些可调项:改 #f44336、#2196f3、#4caf50 和 #ffeb3b 颜色、60px × 4px 的线条和带 0.1s 延迟的 1.5s spin。 支持浅色和深色主题,遵守 prefers-reduced-motion 并给出静止画面,保证文字清晰、控件可用键盘操作。请写原创代码,不要从付费或受限的组件库复制。
更完整的提示词,包含调参、无障碍和接入步骤。