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>
게시글 목록
| 번호 | 제목 |
|---|---|
| 3087 | |
| 3086 | |
| 3085 |
CSS
테이블 수평 분배기
|
| 3084 |
CSS
테이블 패딩
|
| 3083 |
CSS
테치블 수직 정렬
|
| 3082 |
CSS
테이블 수평 정렬
|
| 3081 |
CSS
표 너비와 높이
|
| 3080 |
CSS
표 축소 창
|
| 3079 |
CSS
표 테두리
|
| 3078 |
CSS
스타일리스트 색상
|
| 3077 |
CSS
목록 - 속기 속성
|
| 3076 | |
| 3075 | |
| 3074 | |
| 3073 | |
| 3072 |
CSS
CSS Links 배경색
|
| 3071 | |
| 3070 |
CSS
CSS Links 스타일 링크
|
| 3069 |
CSS
scale () 메서드
|
| 3068 |
CSS
rotate () 메서드
|
| 3067 | |
| 3065 |
CSS
부트 스트랩 아이콘
|
| 3064 | |
| 3063 |
CSS
Font Weight
1
|
| 3062 |
CSS
백분율과 em의 조합 사용
1
|
| 3061 | |
| 3060 |
CSS
Font Size 글자 크기
|
| 3059 | |
| 3058 | |
| 3057 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기