◎ Overflow
- visible: default, not clipped, it renders outside the element's box
- hidden: clipped, invisible
- scroll: clipped, scrollbar
- auto: if clipped, scrollbar add
- the overflow property only works for block elements with a specified height
- In Mac, scrollbars are hidden by default, and only shown when being used
- even though 'overflow: scroll' is set
- overflow-x: horizontally, left/right
- overflow-y: vertically, top/bottom
- overflow-x: hidden > hide horizontally scrollbar
- overflow-y: scroll > add vertical scrollbar
- overflow-x: scroll > white-space: nowrap 일 때 사용
'WEB PROGRAMMING > CSS' 카테고리의 다른 글
Inline-block, Align (0) | 2017.11.10 |
---|---|
Float, Clearfix Method (0) | 2017.11.09 |
Position (0) | 2017.11.08 |
Display, Max-width (0) | 2017.11.08 |
Table (0) | 2017.11.08 |