Skip to content · ⁨본문 바로가기⁩
English

Putting boxes in a row

  • By default, boxes stack downward. Often you want them side by side.
  • Flexbox is the easy way to do that.
  • Put display: flex; on the container — the box that holds the others — and its children line up in a row.
한국어

박스를 행에 배치하기

  • 기본적으로 박스는 아래쪽으로 쌓입니다. 보통은 나란히 배치하고 싶을 것입니다.
  • 플렉스박스가 가장 쉬운 방법입니다.
  • 다른 박스를 포함하는 컨테이너에 display: flex;을 적용하면 자식들이 행으로 정렬됩니다.

Handout · ⁨교재 자료⁩

Log in or create account · ⁨로그인 또는 계정 만들기⁩

IGCSE, A-Level & AP