whatisthis?

CSS - Opacity 속성 본문

WEB STUDY/HTML,CSS

CSS - Opacity 속성

thisisyjin 2022. 3. 1. 13:13

Opacity 

= 투명도

 

0 : 완전 투명

1 : 완전 불투명

 

opacity: 0.9
opacity: 90%

 

 

<alpha-value>

 

A <number> in the range 0.0 to 1.0, inclusive, or a <percentage> in the range 0% to 100%, 

inclusive, representing the opacity of the channel (that is, the value of its alpha channel). 

Any value outside the interval, though valid, is clamped to the nearest limit in the range.

 

- 색상의 rgba에서 a(알파값)에 해당함.

 

 

 

 


REF >

 

 

opacity - CSS: Cascading Style Sheets | MDN

The opacity CSS property sets the opacity of an element. Opacity is the degree to which content behind an element is hidden, and is the opposite of transparency.

developer.mozilla.org

 

'WEB STUDY > HTML,CSS' 카테고리의 다른 글

CSS - Transform 속성  (0) 2022.03.01
CSS - Overflow 속성  (0) 2022.03.01
CSS - Box-shadow 속성  (0) 2022.03.01
CSS - Animation  (1) 2022.03.01
CSS - Transition (트랜지션)  (0) 2022.03.01