1cfd3bbb56
Topic_CSS/Topic_HTML/Topic_JavaScript/Topic_Prompt/Topic_Comfyui 등 기존 카테고리 폴더를 정리하고, Topic_Graphic/Dev 등 신규 산출물과 Topics 내부 세션/메모리 기록을 동기화.
2.8 KiB
2.8 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-fixed-footer | How To - Fixed Footer | Web_Recipes | draft | conceptual |
|
B | 0.83 | 2026-07-04 | 2026-07-04 |
|
|
HOWTO CSS Fixed Footer
🎯 한 줄 통찰 (One-line insight)
position: fixed; bottom: 0; left: 0; width: 100%; pins the footer to the VIEWPORT, not the document — meaning it stays visible on screen even while the page scrolls, which is exactly what makes a "fixed footer" behaviorally different from a normal footer that simply sits at the end of page content and scrolls away with everything else. [S1]
🧠 핵심 개념 (Core concepts)
position: fixed— removes the element from normal flow and anchors it relative to the VIEWPORT (browser window), not the document, so it never scrolls out of view. [S1]bottom: 0; left: 0; width: 100%;— pins the fixed element to the bottom edge and stretches it the full viewport width. [S1]
📖 세부 내용 (Details)
- Full example:
.footer { position: fixed; left: 0; bottom: 0; width: 100%; background-color: red; color: white; text-align: center; } <div class="footer"><p>Footer</p></div>. [S1]
⚖️ 모순 및 업데이트 (Contradictions & updates)
없음 — 신규 레시피, 기존 문서와 모순되는 내용 없음.
🛠️ 적용 사례 (Applied in summary)
빨간 배경의 "Footer" 텍스트 바를 화면 하단에 고정하는 최소 예제가 원문에서 직접 제시됨. [S1]
💻 코드 패턴 (Code patterns)
Fixed footer pinned to the viewport bottom (CSS):
.footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
background-color: red;
color: white;
text-align: center;
}
✅ 검증 상태 및 신뢰도
- 상태: draft
- 검증 단계: conceptual
- 출처 신뢰도: B (W3Schools — widely used educational reference)
- 신뢰 점수: 0.83
- 중복 검사 결과: 신규 생성 (New discovery)
🔗 지식 그래프 (Knowledge Graph)
- 상위/루트: W3Schools HOW TO
- 관련 개념: HOWTO CSS Fixed Menu, HOWTO CSS Fixed Sidebar, HOWTO CSS Sticky Element
- 참조 맥락: CSS Layout & Positioning 섹션.
📚 출처 (Sources)
- [S1] W3Schools — How To - Fixed Footer — https://www.w3schools.com/howto/howto_css_fixed_footer.asp
📝 변경 이력 (Change history)
- 2026-07-04: Initial draft synthesized from the W3Schools "How To - Fixed Footer" recipe (Astra wiki-curation, P-Reinforce v3.1 format).