how to change opacity of text color in css code example Example: css opacity .div{ opacity: 0.8; /* 1 means fully visible, 0 means invisible */ }