CSS 불투명도 / 투명성
이 opacity속성은 요소의 불투명도 / 투명도를 지정합니다.
투명한 이미지
이 opacity속성은 0.0 - 1.0의 값을 가질 수 있습니다. 값이 낮을수록 투명합니다.

불투명도 0.2

불투명도 0.5

참고 : IE8 및 이전 버전이 사용 filter:alpha(opacity=x)됩니다. x는 0 - 100의 값을 취할 수 있습니다. 값이 낮을수록 요소가 더 투명 해집니다.
예
img {
opacity: 0.5;
filter: alpha(opacity=50); /* For IE8 and earlier */
}
<!DOCTYPE html>
<html>
<head>
<style>
img {
opacity: 0.5;
filter: alpha(opacity=50); /* For IE8 and earlier */
}
</style>
</head>
<body>
<h1>Image Transparency</h1>
<p>The opacity property specifies the transparency of an element. The lower the value, the more transparent:</p>
<p>Image with 50% opacity:</p>
<img src="img_forest.jpg" alt="Forest" width="170" height="100">
</body>
</html>
Image Transparency
The opacity property specifies the transparency of an element. The lower the value, the more transparent:
Image with 50% opacity:

게시글 목록
| 번호 | 제목 |
|---|---|
| 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
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기