CSS

css color rgba opacity variable not working

daeyun대윤 2023. 9. 22. 07:00

CSS 컬러 변수 선언 후, alpha값 (opacity)을 조정할 수 있을까?

개발자도구에서는 에러가 없는디... 적용은 안된다.

 

 

See the Pen btn css var by keepgoing-Noah (@keepgoing-noah) on CodePen.

 

참고할 만한 글을 찾아봄.. 언젠가 되겠찌:.. ?

 

 

https://codepen.io/finnhvman/post/theming-with-css-variables-in-rgba

 

Theming with CSS variables in RGBA

CSS variables are pretty well-supported nowadays across browsers. The global feature coverage is above 87.5% at the time of writing. Theming apps A not so surprising use-case of CSS variables is...

codepen.io

 

 

728x90
300x250