📊 Progress Bar Generator
📐 計算公式 / 原理
百分比鉗制 0–100,高度 ≥4px;漸變背景 = linear-gradient(90deg, 色1, 色2);條紋為 45° 線性漸變、background-size 20px × 20px 平移迴圈;動畫關鍵幀 0% → 80% → 100%
按長度、厚度、圓角、漸變色與動畫拼裝進度條 HTML / CSS(含 @keyframes 流光),即時預覽並可複製;用於下載、投票與任務進度展示。
Formula & Standard References
| Item | Formula / Note | Source / Standard |
|---|---|---|
| Progress semantics | role=progressbar pairs with aria-valuenow, valuemin and valuemax | WAI-ARIA 1.2 |
| Width percentage | fill width is value over total times 100, clamped to 0 through 100 | CSS Box Model Level 3 |
| Transition | animate width changes and honour reduced motion preferences | WCAG 2.2 (2.3.3) |
⚠️ 使用說明與注意事項
- 本工具純前端執行,資料不會上傳到伺服器
- 建議在主流瀏覽器(Chrome/Safari/Firefox/Edge)中使用
- 計算結果僅供參考,請以實際應用場景為準