문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
|
wiki:css:css_note:css_float_examples [2021/03/16 10:37] emblim98 |
wiki:css:css_note:css_float_examples [2023/01/13 18:44] (현재) |
||
|---|---|---|---|
| 줄 4: | 줄 4: | ||
| * author | * author | ||
| * email : shlim@repia.com | * email : shlim@repia.com | ||
| - | * lastupdate | + | * lastupdate |
| </ | </ | ||
| <WRAP clear></ | <WRAP clear></ | ||
| 줄 15: | 줄 15: | ||
| ======Grid of Boxes / Equal Width Boxes====== | ======Grid of Boxes / Equal Width Boxes====== | ||
| '' | '' | ||
| - | ====예제==== | + | ==== Example |
| <code css> | <code css> | ||
| - | < | ||
| - | <html lang=" | ||
| - | |||
| - | < | ||
| - | <meta charset=" | ||
| - | <meta http-equiv=" | ||
| - | <meta name=" | ||
| - | < | ||
| < | < | ||
| * { | * { | ||
| 줄 62: | 줄 54: | ||
| <p> | <p> | ||
| - | Note that w also us the clearfix hack to take care of the layout flow, and that add the box-sizing property to make sure that the box doesn' | + | Note that w also us the clearfix hack to take care of the layout flow, |
| - | | + | |
| + | | ||
| </p> | </p> | ||
| </ | </ | ||
| + | </ | ||
| - | </ | + | ====What is box-sizing? |
| - | </ | + | 3개의 플로팅 박스를 나란히 |
| - | \\ | + | 하지만 각 박스의 너비를 |
| - | ====3개의 플로팅 박스를 | + | '' |
| + | 패딩이 상자 내부에 유지되고 깨지지 않도록 할 수 있습니다.\\ | ||
| ===='' | ===='' | ||
| \\ | \\ | ||
| 줄 403: | 줄 398: | ||
| </ | </ | ||
| </ | </ | ||
| + | \\ | ||
| + | \\ | ||
| + | =====All CSS Float Properties===== | ||
| + | ^ Property | ||
| + | | box-sizing | ||
| + | | clear | 어떤 요소가 지워진 요소 옆에 그리고 어느 방향으로 플로트 되는지를 지정 | ||
| + | | float | 요소가 플로트 되는 방법을 지정 | ||
| + | | overflow | ||
| + | | overflow-x | ||
| + | | overflow-y | ||
| + | |||
| + | |||
| + | |||
| + | |||
| {{tag> | {{tag> | ||