문서의 선택한 두 판 사이의 차이를 보여줍니다.
| 양쪽 이전 판 이전 판 다음 판 | 이전 판 | ||
|
wiki:css:css_note:css_flexbox [2021/03/16 12:31] emblim98 |
wiki:css:css_note:css_flexbox [2023/01/13 18:44] (현재) |
||
|---|---|---|---|
| 줄 1: | 줄 1: | ||
| ====== CSS Flexbox ====== | ====== CSS Flexbox ====== | ||
| - | <WRAP left notice | + | <WRAP left notice |
| * description : CSS Lists, | * description : CSS Lists, | ||
| * author | * author | ||
| * email : shlim@repia.com | * email : shlim@repia.com | ||
| - | * lastupdate | + | * lastupdate |
| </ | </ | ||
| <WRAP clear></ | <WRAP clear></ | ||
| 줄 10: | 줄 10: | ||
| \\ | \\ | ||
| =====Source of the article==== | =====Source of the article==== | ||
| - | * [[https:// | + | [[https:// |
| - | \\ | + | |
| \\ | \\ | ||
| ======CSS Flexbox====== | ======CSS Flexbox====== | ||
| + | {{: | ||
| + | \\ | ||
| ====예제==== | ====예제==== | ||
| <code css> | <code css> | ||
| 줄 79: | 줄 81: | ||
| ====예제==== | ====예제==== | ||
| <code css> | <code css> | ||
| + | < | ||
| + | <html lang=" | ||
| - | </code> | + | < |
| + | <meta charset=" | ||
| + | <meta http-equiv=" | ||
| + | <meta name=" | ||
| + | < | ||
| + | < | ||
| + | .flex-container { | ||
| + | /* parent element */ | ||
| + | background-color: | ||
| + | display: flex; | ||
| + | } | ||
| + | .flex-container> | ||
| + | /* direct child elements of the flexible container = flexible itmes */ | ||
| + | border: 2px solid green; | ||
| + | background-color: | ||
| + | margin: 10px; | ||
| + | padding: 20px; | ||
| + | font-size: 30px; | ||
| + | } | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | < | ||
| + | |||
| + | <!-- .flex-container> | ||
| + | <div class=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | |||
| + | <p>A Flexible Layout must have a parent element with the < | ||
| + | |||
| + | < | ||
| + | |||
| + | </ | ||
| + | |||
| + | </ | ||
| + | </ | ||
| + | =====Ref===== | ||
| + | {{: | ||
| | | ||
| {{tag> | {{tag> | ||