1cfd3bbb56
Topic_CSS/Topic_HTML/Topic_JavaScript/Topic_Prompt/Topic_Comfyui 등 기존 카테고리 폴더를 정리하고, Topic_Graphic/Dev 등 신규 산출물과 Topics 내부 세션/메모리 기록을 동기화.
3.4 KiB
3.4 KiB
id, title, category, status, verification_status, canonical_id, aliases, duplicate_of, source_trust_level, confidence_score, created_at, updated_at, review_reason, merge_history, tags, raw_sources, applied_in, github_commit
| id | title | category | status | verification_status | canonical_id | aliases | duplicate_of | source_trust_level | confidence_score | created_at | updated_at | review_reason | merge_history | tags | raw_sources | applied_in | github_commit | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| howto-css-loading-buttons | How To - Loading Buttons | Web_Recipes | draft | conceptual |
|
B | 0.8 | 2026-07-04 | 2026-07-04 |
|
|
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 SAMEfa-spinclass to produce visually different but functionally identical spinning loaders. [S1]
📖 세부 내용 (Details)
<button class="buttonload"><i class="fa fa-spinner fa-spin"></i>Loading</button>. [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):
<button class="buttonload">
<i class="fa fa-spinner fa-spin"></i>Loading
</button>
.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).