Files
2nd/10_Wiki/Dev/Topic_HOWTO/HOWTO_CSS_Responsive_Floats.md
T
Antigravity Agent 1cfd3bbb56 docs(10_Wiki): 위키 구조 정리 — 언어 튜토리얼 카테고리 폴더 제거 + 신규 자산 동기화
Topic_CSS/Topic_HTML/Topic_JavaScript/Topic_Prompt/Topic_Comfyui 등 기존 카테고리 폴더를 정리하고,
Topic_Graphic/Dev 등 신규 산출물과 Topics 내부 세션/메모리 기록을 동기화.
2026-07-05 00:10:59 +09:00

3.0 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-responsive-floats How To - Responsive Floats Web_Recipes draft conceptual
media query float direction
B 0.8 2026-07-04 2026-07-04
howto
css
w3schools
layout
float
media-queries
https://www.w3schools.com/howto/howto_css_responsive_floats.asp

HOWTO CSS Responsive Floats

🎯 한 줄 통찰 (One-line insight)

This recipe applies media queries not to WIDTH (the usual target in this cookbook's other layout recipes) but to the float DIRECTION itself — two complementary classes (.float-right-sm for small screens, .float-right-lg for large) each activate at opposite ends of a 768/769px split, showing that media queries can toggle ANY CSS property conditionally, not just sizing. [S1]

🧠 핵심 개념 (Core concepts)

  • Conditional float via media query@media (max-width: 768px) { .float-right-sm { float: right; } } and @media (min-width: 769px) { .float-right-lg { float: right; } } each apply float only within their respective breakpoint range. [S1]
  • Complementary breakpointsmax-width: 768px and min-width: 769px are deliberately adjacent (no gap, no overlap) so exactly one rule is ever active at a given viewport width. [S1]

📖 세부 내용 (Details)

  • Full example: two separate classes, each with its own media query scoping float:right to a specific screen-width range. [S1]

⚖️ 모순 및 업데이트 (Contradictions & updates)

없음 — 신규 레시피, 기존 문서와 모순되는 내용 없음.

🛠️ 적용 사례 (Applied in summary)

현재 발견된 실제 적용 사례가 없습니다 — 화면 폭에 따라 float 방향을 다르게 적용하는 최소 예제가 원문에서 제시됨. [S1]

💻 코드 패턴 (Code patterns)

Screen-width-conditional float direction (CSS):

@media (max-width: 768px) {
  .float-right-sm { float: right; }
}
@media (min-width: 769px) {
  .float-right-lg { float: right; }
}

검증 상태 및 신뢰도

  • 상태: draft
  • 검증 단계: conceptual
  • 출처 신뢰도: B (W3Schools — widely used educational reference)
  • 신뢰 점수: 0.80
  • 중복 검사 결과: 신규 생성 (New discovery)

🔗 지식 그래프 (Knowledge Graph)

📚 출처 (Sources)

📝 변경 이력 (Change history)

  • 2026-07-04: Initial draft synthesized from the W3Schools "How To - Responsive Floats" recipe (Astra wiki-curation, P-Reinforce v3.1 format).