From da78a9e329e272dedb2400b79a3bdeebff387d47 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:42:17 -0500 Subject: initial commit --- files/ko/glossary/main_axis/index.html | 50 ++++++++++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 files/ko/glossary/main_axis/index.html (limited to 'files/ko/glossary/main_axis/index.html') diff --git a/files/ko/glossary/main_axis/index.html b/files/ko/glossary/main_axis/index.html new file mode 100644 index 0000000000..b2790c037b --- /dev/null +++ b/files/ko/glossary/main_axis/index.html @@ -0,0 +1,50 @@ +--- +title: 주축 +slug: Glossary/Main_Axis +tags: + - CSS + - Glossary + - flexbox +translation_of: Glossary/Main_Axis +--- +

{{glossary("flexbox", "플렉스박스")}}에서, 주축이란 {{cssxref("flex-direction")}} 속성이 지정한 방향과 수평한 축입니다. flex-direction은 다음과 같은 네 가지 방향이 가능합니다.

+ + + +

row 또는 row-reverse를 선택한 경우, 주축은 행을 따라 인라인 방향으로 진행합니다.

+ +

In this image the flex-direction is row which forms the main axis

+ +

column 또는 column-reverse인 경우, 주축은 페이지의 위에서 아래, 블록 방향으로 진행합니다.

+ +

+ +

아이템의 flex 속성을 통하면, 컨테이너의 사용 가능한 공간을 그 아이템에 더 할당하는 방식으로 주축 방향 크기를 키울 수 있습니다. 아니면 justify-content 속성을 사용해 아이템 사이와 주위 여백을 조절할 수 있습니다.

+ +

더 알아보기

+ +

속성 참고서

+ +
+ +
+ +

더 읽어보기

+ + -- cgit v1.2.3-54-g00ecf