CSS Overflow Hidden
이 hidden값을 사용하면 오버플로가 잘리고 나머지 내용은 숨겨집니다.
레이아웃을보다 잘 제어하고 싶을 때 overflow 속성을 사용할 수 있습니다. overflow 속성은 내용이 요소의 상자를 오버플로하면 어떻게되는지 지정합니다.
Example
div {
overflow: hidden;
}
<!DOCTYPE html>
<html>
<head>
<style>
div {
background-color: #eee;
width: 200px;
height: 50px;
border: 1px dotted black;
overflow: hidden;
}
</style>
</head>
<body>
<h2>CSS Overflow</h2>
<p>With the hidden value, the overflow is clipped, and the rest of the content is hidden:</p>
<p>Try to remove the overflow property to understand how it works.</p>
<div>You can use the overflow property when you want to have better control of the layout. The overflow property specifies what happens if content overflows an element's box.</div>
</body>
</html>
게시글 목록
| 번호 | 제목 |
|---|---|
| 3056 | |
| 3055 | |
| 3054 | |
| 3051 | |
| 3050 | |
| 3049 | |
| 3046 | |
| 3045 | |
| 3044 |
HTML
글자 간격 Letter Spacing
|
| 3043 |
CSS
text-indent
|
| 3042 |
CSS
text-transform
|
| 3041 |
CSS
text-decoration
|
| 3040 |
CSS
Text Alignment
|
| 3039 |
CSS
Text Color
|
| 3038 | |
| 3034 |
CSS
Outline Width
|
| 3033 |
CSS
Outline Color
|
| 3032 |
CSS
CSS Outline
|
| 3027 |
CSS
CSS Box Model
|
| 3026 | |
| 3025 | |
| 3024 |
CSS
CSS Padding
|
| 3023 |
CSS
CSS Margins
|
| 3022 | |
| 3021 | |
| 3020 | |
| 3019 |
HTML
HTML <video> 요소
1
|
| 3018 |
HTML
html google map
|
| 3017 |
HTML
SVG와 캔버스의 차이점
|
| 3016 |
HTML
SVG Logo
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기