---
id: howto-css-loading-buttons
title: "How To - Loading Buttons"
category: "Web_Recipes"
status: "draft"
verification_status: "conceptual"
canonical_id: ""
aliases: ["fa-spin spinner button"]
duplicate_of: ""
source_trust_level: "B"
confidence_score: 0.8
created_at: 2026-07-04
updated_at: 2026-07-04
review_reason: ""
merge_history: []
tags: ["howto", "css", "w3schools", "buttons", "icons", "loading"]
raw_sources: ["https://www.w3schools.com/howto/howto_css_loading_buttons.asp"]
applied_in: []
github_commit: ""
---
# [[HOWTO CSS Loading Buttons]]
## π― ν μ€ ν΅μ°° (One-line insight)
The entire "spinning" effect comes from Font Awesome's OWN `fa-spin` utility class, not any custom CSS animation authored in this recipe β `.buttonload` only handles the button's static look (background, padding, color), while the rotation itself is entirely delegated to whichever icon library is loaded, meaning this recipe demonstrates HOW to compose a third-party icon library's built-in animation utility with a custom button style, rather than teach `@keyframes` rotation from scratch. [S1]
## π§ ν΅μ¬ κ°λ
(Core concepts)
- **`fa-spin`** β a Font Awesome utility class that rotates any icon continuously; combined with a spinner-shaped icon (`fa-spinner`, `fa-circle-o-notch`, `fa-refresh`) to create a loading indicator. [S1]
- **`.buttonload`** β only styles the button's static appearance (background/padding/color/font-size); contributes NOTHING to the spin animation itself. [S1]
- **Interchangeable spinner icons** β three different icon glyphs (`fa-spinner`, `fa-circle-o-notch`, `fa-refresh`) all combine with the SAME `fa-spin` class to produce visually different but functionally identical spinning loaders. [S1]
## π μΈλΆ λ΄μ© (Details)
- ``. [S1]
- `.buttonload { background-color: #04AA6D; border: none; color: white; padding: 12px 16px; font-size: 16px; }`. [S1]
## βοΈ λͺ¨μ λ° μ
λ°μ΄νΈ (Contradictions & updates)
μμ β μ κ· λ μνΌ, κΈ°μ‘΄ λ¬Έμμ λͺ¨μλλ λ΄μ© μμ.
## π οΈ μ μ© μ¬λ‘ (Applied in summary)
μλ‘ λ€λ₯Έ μ€νΌλ μμ΄μ½ 3κ°(spinner/circle-o-notch/refresh)λ₯Ό fa-spinκ³Ό κ²°ν©ν΄ "Loading" λ²νΌ 3μ’
μ λ§λλ μμ κ° μλ¬Έμμ μ§μ μ μλ¨. [S1]
## π» μ½λ ν¨ν΄ (Code patterns)
Loading button β animation comes entirely from the icon library's fa-spin utility (HTML + CSS):
```html
```
```css
.buttonload { background-color: #04AA6D; border: none; color: white; padding: 12px 16px; }
```
## β
κ²μ¦ μν λ° μ λ’°λ
- **μν:** draft
- **κ²μ¦ λ¨κ³:** conceptual
- **μΆμ² μ λ’°λ:** B (W3Schools β widely used educational reference)
- **μ λ’° μ μ:** 0.80
- **μ€λ³΅ κ²μ¬ κ²°κ³Ό:** μ κ· μμ± (New discovery)
## π μ§μ κ·Έλν (Knowledge Graph)
- **μμ/루νΈ:** [[W3Schools HOW TO]]
- **κ΄λ ¨ κ°λ
:** [[HOWTO CSS Loader]], [[HOWTO CSS Icon Buttons]]
- **μ°Έμ‘° λ§₯λ½:** CSS Buttons μΉμ
.
## π μΆμ² (Sources)
- [S1] W3Schools β How To - Loading Buttons β https://www.w3schools.com/howto/howto_css_loading_buttons.asp
## π λ³κ²½ μ΄λ ₯ (Change history)
- 2026-07-04: Initial draft synthesized from the W3Schools "How To - Loading Buttons" recipe (Astra wiki-curation, P-Reinforce v3.1 format).