效能
需注意幀率: 平均 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 並給出靜止畫面,保證文字清晰、控制元件可用鍵盤操作。請寫原創程式碼,不要從付費或受限的元件庫複製。
更完整的提示詞,包含調參、無障礙和接入步驟。