Files
2nd/10_Wiki/Topics/Topic_Programming/Topic_W3CSS/W3CSS_Rows.md
T
Antigravity Agent 9a135bd19d docs(10_Wiki): Topic_Business/General/Graphic/Programming을 Topics/ 하위로 이동
최상위 10_Wiki/Topic_*였던 4개 카테고리 폴더를 10_Wiki/Topics/Topic_* 로 재배치.
콘텐츠 변경 없음(순수 폴더 이동) — Topics/ 하위 나머지 폴더는 이미 지난 커밋에서
전부 정리된 상태(잔존 항목은 에이전트 운영 상태 및 사용자가 보존을 요청한
업데이트0615/무제 3.canvas 뿐).
2026-07-05 00:44:01 +09:00

4.3 KiB
Raw Blame History

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
w3css-rows W3CSS Rows Programming_Language draft conceptual
w3-row
w3-half
w3-rest
W3.CSS 행 시스템
B 0.88 2026-07-04 2026-07-04
w3css
css-framework
w3schools
rows
responsive-grid
https://www.w3schools.com/w3css/w3css_rows.asp

W3CSS Rows

🎯 한 줄 통찰 (One-line insight)

Every named-fraction column class (w3-half, w3-third, w3-quarter, etc.) automatically collapses to 100% width below 601px — this single mobile-first rule is what makes a w3-row layout "responsive" without any media queries in the developer's own code, since the breakpoint logic is baked into the framework itself. [S1]

🧠 핵심 개념 (Core concepts)

  • w3-row — no-padding row container. w3-row-padding — same, but with 8px left/right padding per column. [S1]
  • Named fraction classesw3-half (50%), w3-third (33.33%), w3-twothird (66.66%), w3-quarter (25%), w3-threequarter (75%) — ALL collapse to 100% on screens under 601px. [S1]
  • w3-rest — occupies whatever width remains after other fixed/percent-width columns; MUST be the last element in the row's source order. [S1]
  • w3-col — defines one column in a 12-column grid, with a manually specified width (px, %, or plain, unstyled). [S1]
  • Nested rows — a w3-row can be placed entirely inside one column of an outer w3-row, for sub-layouts. [S1]
  • w3-stretch — removes left/right margins, useful for stretching a w3-row-padding row to the container's full edge-to-edge width. [S1]
  • DP (density-independent pixels) — W3.CSS's responsiveness thresholds (601px small/medium boundary, 993px medium/large) are based on DP, not raw physical resolution — e.g. an iPhone 6 at 750×1334px resolution is treated as 375×667 DP, i.e. a small screen. [S1]

📖 세부 내용 (Details)

  • Two-thirds/one-third split: <div class="w3-row"><div class="w3-green w3-container w3-twothird"><h2>w3-twothird</h2></div><div class="w3-container w3-third"><h2>w3-third</h2></div></div>. [S1]
  • Fixed-width + rest: <div class="w3-row"><div class="w3-col" style="width:150px"><p>I am 150px</p></div><div class="w3-rest w3-green"><p>I am the rest</p></div></div>w3-rest must come last. [S1]
  • Nested row inside a half-column: a w3-half div containing its own inner w3-row with two more w3-half divs. [S1]

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

  • w3-rest의 위치 제약: w3-rest 클래스를 가진 요소는 반드시 소스코드상 마지막에 위치해야 한다는 점이 명시적으로 요구됨. [S1]
  • DP 기반 반응형 임계값: 실제 픽셀 해상도가 아니라 DP(밀도 독립 픽셀) 기준으로 화면 크기를 판단한다는 점이 아이폰 6 예시로 증명됨(750×1334 해상도가 375×667 DP의 작은 화면으로 취급). [S1]

🛠️ 적용 사례 (Applied in summary)

현재 발견된 실제 적용 사례가 없습니다 — 고정폭 사이드바(150px)+나머지 영역(w3-rest)으로 구성된 레이아웃이 실전 활용의 대표 사례다. [S1]

💻 코드 패턴 (Code patterns)

Fixed-width column plus a "rest" column that must come last (HTML):

<div class="w3-row">
  <div class="w3-col" style="width:150px"><p>I am 150px</p></div>
  <div class="w3-rest w3-green"><p>I am the rest</p></div>
</div>

검증 상태 및 신뢰도

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

🔗 지식 그래프 (Knowledge Graph)

📚 출처 (Sources)

📝 변경 이력 (Change history)

  • 2026-07-04: Initial draft synthesized from the W3Schools "W3.CSS Rows" page (Astra wiki-curation, P-Reinforce v3.1 format).